mirror of
https://github.com/tstack/lnav
synced 2024-11-01 21:40:34 +00:00
[tests] move test_pcrepp
This commit is contained in:
parent
5c203a2648
commit
efea67e61c
4
.github/workflows/c-cpp.yml
vendored
4
.github/workflows/c-cpp.yml
vendored
@ -23,8 +23,8 @@ jobs:
|
||||
run: ./autogen.sh
|
||||
- name: configure
|
||||
run: ./configure --enable-code-coverage --enable-debug
|
||||
- name: make -j2
|
||||
run: make
|
||||
- name: make
|
||||
run: make -j2
|
||||
- name: make check
|
||||
run: make check
|
||||
- name: upload cover
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
# aminclude_static.am generated automatically by Autoconf
|
||||
# from AX_AM_MACROS_STATIC on Thu Jan 28 11:06:02 PST 2021
|
||||
# from AX_AM_MACROS_STATIC on Fri Jan 29 18:52:23 PST 2021
|
||||
|
||||
|
||||
# Code coverage
|
||||
|
@ -11,3 +11,15 @@ noinst_HEADERS = \
|
||||
|
||||
libpcrepp_a_SOURCES = \
|
||||
pcrepp.cc
|
||||
|
||||
test_pcrepp_SOURCES = test_pcrepp.cc
|
||||
test_pcrepp_LDADD = \
|
||||
libpcrepp.a \
|
||||
$(top_builddir)/src/base/libbase.a \
|
||||
$(PCRE_LIBS)
|
||||
|
||||
check_PROGRAMS = \
|
||||
test_pcrepp
|
||||
|
||||
TESTS = \
|
||||
test_pcrepp
|
||||
|
@ -50,7 +50,7 @@ add_executable(lnav_doctests lnav_doctests.cc)
|
||||
target_link_libraries(lnav_doctests diag ${lnav_LIBS})
|
||||
add_test(NAME lnav_doctests COMMAND lnav_doctests)
|
||||
|
||||
add_executable(test_pcrepp test_pcrepp.cc)
|
||||
add_executable(test_pcrepp ../src/pcrepp/test_pcrepp.cc)
|
||||
target_link_libraries(test_pcrepp diag PkgConfig::libpcre)
|
||||
add_test(NAME test_pcrepp COMMAND test_pcrepp)
|
||||
|
||||
|
@ -51,7 +51,6 @@ check_PROGRAMS = \
|
||||
test_line_buffer2 \
|
||||
test_log_accel \
|
||||
test_ncurses_unicode \
|
||||
test_pcrepp \
|
||||
test_reltime \
|
||||
test_top_status
|
||||
|
||||
@ -108,8 +107,6 @@ test_line_buffer2_SOURCES = test_line_buffer2.cc
|
||||
|
||||
test_log_accel_SOURCES = test_log_accel.cc
|
||||
|
||||
test_pcrepp_SOURCES = test_pcrepp.cc
|
||||
|
||||
test_top_status_SOURCES = test_top_status.cc
|
||||
|
||||
test_abbrev_SOURCES = test_abbrev.cc
|
||||
@ -332,7 +329,6 @@ TESTS = \
|
||||
test_json_format.sh \
|
||||
test_log_accel \
|
||||
test_logfile.sh \
|
||||
test_pcrepp \
|
||||
test_reltime \
|
||||
test_scripts.sh \
|
||||
test_sessions.sh \
|
||||
|
Loading…
Reference in New Issue
Block a user