2009-09-14 03:07:32 +02:00
|
|
|
|
2021-01-29 20:12:02 +01:00
|
|
|
include $(top_srcdir)/aminclude_static.am
|
|
|
|
|
2013-04-19 16:03:42 +02:00
|
|
|
TESTS_ENVIRONMENT = $(SHELL) $(top_builddir)/TESTS_ENVIRONMENT
|
2013-04-19 07:46:49 +02:00
|
|
|
LOG_COMPILER = $(SHELL) $(top_builddir)/TESTS_ENVIRONMENT
|
2009-09-14 03:07:32 +02:00
|
|
|
|
2015-03-25 10:13:18 +01:00
|
|
|
RM_V = $(RM_V_@AM_V@)
|
|
|
|
RM_V_ = $(RM_V_@AM_DEFAULT_V@)
|
|
|
|
RM_V_0 = @echo " RM " $@;
|
|
|
|
|
2021-01-29 20:12:02 +01:00
|
|
|
AM_LIBS = $(CODE_COVERAGE_LIBS)
|
|
|
|
AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
|
|
|
|
AM_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS)
|
|
|
|
|
2009-09-14 03:07:32 +02:00
|
|
|
AM_CPPFLAGS = \
|
2015-04-05 03:10:57 +02:00
|
|
|
-Wall \
|
2009-09-14 03:07:32 +02:00
|
|
|
-I$(top_srcdir)/src \
|
2020-04-25 16:32:05 +02:00
|
|
|
-I$(top_srcdir)/src/fmtlib \
|
2022-05-11 06:58:32 +02:00
|
|
|
-I$(top_srcdir)/src/third-party \
|
2022-07-29 08:31:58 +02:00
|
|
|
-I$(top_srcdir)/src/third-party/scnlib/include \
|
2021-01-29 20:12:02 +01:00
|
|
|
$(CODE_COVERAGE_CPPFLAGS) \
|
2020-10-29 05:17:57 +01:00
|
|
|
$(LIBARCHIVE_CFLAGS) \
|
2015-03-29 10:19:51 +02:00
|
|
|
$(READLINE_CFLAGS) \
|
2022-07-29 05:24:32 +02:00
|
|
|
$(PCRE_CFLAGS) \
|
2009-10-06 23:14:49 +02:00
|
|
|
$(SQLITE3_CFLAGS)
|
2009-09-14 03:07:32 +02:00
|
|
|
|
|
|
|
# AM_CFLAGS = -fprofile-arcs -ftest-coverage
|
|
|
|
# AM_CXXFLAGS = -fprofile-arcs -ftest-coverage
|
|
|
|
|
2021-05-20 07:05:21 +02:00
|
|
|
remote/ssh_host_rsa_key:
|
|
|
|
mkdir -p remote
|
|
|
|
ssh-keygen -f remote/ssh_host_rsa_key -N '' -t rsa
|
|
|
|
|
|
|
|
remote/ssh_host_dsa_key:
|
|
|
|
mkdir -p remote
|
|
|
|
ssh-keygen -f remote/ssh_host_dsa_key -N '' -t dsa
|
|
|
|
|
2021-05-20 07:44:32 +02:00
|
|
|
remote/id_rsa:
|
|
|
|
mkdir -p remote
|
|
|
|
ssh-keygen -f remote/id_rsa -N '' -t rsa
|
|
|
|
cp -f remote/id_rsa.pub remote/authorized_keys
|
|
|
|
|
2021-03-29 18:35:11 +02:00
|
|
|
noinst_LIBRARIES = \
|
|
|
|
libtestdummy.a
|
|
|
|
|
|
|
|
libtestdummy_a_SOURCES = \
|
|
|
|
test_stubs.cc
|
|
|
|
|
2021-03-29 07:42:51 +02:00
|
|
|
DUMMY_OBJS = \
|
2021-03-29 18:35:11 +02:00
|
|
|
test_stubs.$(OBJEXT)
|
2021-03-28 22:50:26 +02:00
|
|
|
|
2009-09-14 03:07:32 +02:00
|
|
|
check_PROGRAMS = \
|
2011-06-13 16:46:03 +02:00
|
|
|
drive_data_scanner \
|
2009-09-14 03:07:32 +02:00
|
|
|
drive_line_buffer \
|
|
|
|
drive_grep_proc \
|
|
|
|
drive_listview \
|
|
|
|
drive_logfile \
|
2014-03-08 14:26:49 +01:00
|
|
|
drive_mvwattrline \
|
2015-12-19 07:39:27 +01:00
|
|
|
drive_shlexer \
|
2013-05-29 16:28:57 +02:00
|
|
|
drive_sql \
|
2017-03-26 15:02:53 +02:00
|
|
|
drive_sql_anno \
|
2012-06-05 22:18:59 +02:00
|
|
|
drive_view_colors \
|
2009-09-14 03:07:32 +02:00
|
|
|
drive_vt52_curses \
|
|
|
|
drive_readline_curses \
|
2017-04-25 14:41:14 +02:00
|
|
|
lnav_doctests \
|
2009-09-14 03:07:32 +02:00
|
|
|
slicer \
|
|
|
|
scripty \
|
2016-08-22 15:45:27 +02:00
|
|
|
test_abbrev \
|
2013-06-08 19:51:54 +02:00
|
|
|
test_ansi_scrubber \
|
2009-09-14 03:07:32 +02:00
|
|
|
test_auto_fd \
|
|
|
|
test_auto_mem \
|
|
|
|
test_bookmarks \
|
2014-03-22 16:02:48 +01:00
|
|
|
test_date_time_scanner \
|
2009-09-14 03:07:32 +02:00
|
|
|
test_grep_proc2 \
|
|
|
|
test_line_buffer2 \
|
2014-03-16 23:07:08 +01:00
|
|
|
test_log_accel \
|
2017-08-01 19:17:30 +02:00
|
|
|
test_ncurses_unicode \
|
2015-09-14 17:56:42 +02:00
|
|
|
test_reltime \
|
2022-09-16 06:11:30 +02:00
|
|
|
test_text_anonymizer \
|
2019-05-08 14:30:59 +02:00
|
|
|
test_top_status
|
2009-09-14 03:07:32 +02:00
|
|
|
|
|
|
|
AM_LDFLAGS = \
|
2020-10-29 05:17:57 +01:00
|
|
|
$(LIBARCHIVE_LDFLAGS) \
|
2013-08-28 16:28:31 +02:00
|
|
|
$(STATIC_LDFLAGS) \
|
2013-08-29 06:22:04 +02:00
|
|
|
$(SQLITE3_LDFLAGS) \
|
2015-03-29 10:19:51 +02:00
|
|
|
$(READLINE_LDFLAGS) \
|
2020-09-03 00:02:42 +02:00
|
|
|
$(CURSES_LIB)
|
2009-09-14 03:07:32 +02:00
|
|
|
|
2017-01-21 16:41:28 +01:00
|
|
|
CONFIG_OBJS = \
|
2021-03-29 18:35:11 +02:00
|
|
|
../src/ansi-palette-json.$(OBJEXT) \
|
|
|
|
../src/default-config.$(OBJEXT) \
|
|
|
|
../src/xterm-palette-json.$(OBJEXT)
|
2017-01-21 16:41:28 +01:00
|
|
|
|
2017-04-05 16:05:19 +02:00
|
|
|
TEXT2C_OBJS = \
|
2021-03-29 18:35:11 +02:00
|
|
|
../src/builtin-scripts.$(OBJEXT) \
|
|
|
|
../src/builtin-sh-scripts.$(OBJEXT) \
|
|
|
|
../src/default-formats.$(OBJEXT) \
|
|
|
|
../src/time_fmts.$(OBJEXT)
|
2017-04-05 16:05:19 +02:00
|
|
|
|
2019-05-08 14:30:59 +02:00
|
|
|
LDADD = \
|
|
|
|
-lz \
|
|
|
|
$(CONFIG_OBJS) \
|
|
|
|
$(TEXT2C_OBJS) \
|
2021-03-29 07:42:51 +02:00
|
|
|
$(DUMMY_OBJS) \
|
2022-06-29 07:23:56 +02:00
|
|
|
../src/lnav.events.$(OBJEXT) \
|
2019-05-08 18:11:22 +02:00
|
|
|
$(top_builddir)/src/libdiag.a \
|
2022-05-23 05:44:18 +02:00
|
|
|
$(top_builddir)/src/libdatascanner.a \
|
2021-10-03 08:17:33 +02:00
|
|
|
$(top_builddir)/src/formats/logfmt/liblogfmt.a \
|
2019-05-08 14:30:59 +02:00
|
|
|
$(top_builddir)/src/fmtlib/libcppfmt.a \
|
|
|
|
$(top_builddir)/src/pcrepp/libpcrepp.a \
|
|
|
|
$(top_builddir)/src/yajl/libyajl.a \
|
|
|
|
$(top_builddir)/src/yajlpp/libyajlpp.a \
|
2019-05-08 18:11:22 +02:00
|
|
|
$(top_builddir)/src/base/libbase.a \
|
2020-12-24 00:01:21 +01:00
|
|
|
$(top_builddir)/src/pugixml/libpugixml.a \
|
2022-07-30 09:12:44 +02:00
|
|
|
$(top_builddir)/src/third-party/base64/lib/libbase64.a \
|
2022-07-29 09:07:11 +02:00
|
|
|
$(top_builddir)/src/third-party/scnlib/src/libscnlib.a \
|
2021-04-04 07:30:45 +02:00
|
|
|
$(READLINE_LIBS) \
|
2019-05-08 18:11:22 +02:00
|
|
|
$(CURSES_LIB) \
|
2020-10-29 05:17:57 +01:00
|
|
|
$(LIBARCHIVE_LIBS) \
|
2019-05-08 18:11:22 +02:00
|
|
|
$(SQLITE3_LIBS) \
|
|
|
|
$(PCRE_LIBS) \
|
2021-01-29 20:12:02 +01:00
|
|
|
$(LIBCURL)
|
2009-09-14 03:07:32 +02:00
|
|
|
|
2013-06-08 19:51:54 +02:00
|
|
|
test_ansi_scrubber_SOURCES = test_ansi_scrubber.cc
|
|
|
|
|
2009-09-14 03:07:32 +02:00
|
|
|
test_auto_fd_SOURCES = test_auto_fd.cc
|
|
|
|
|
|
|
|
test_auto_mem_SOURCES = test_auto_mem.cc
|
|
|
|
|
2013-07-28 23:33:11 +02:00
|
|
|
test_bookmarks_SOURCES = test_bookmarks.cc
|
2009-09-14 03:07:32 +02:00
|
|
|
|
2014-03-22 16:02:48 +01:00
|
|
|
test_date_time_scanner_SOURCES = test_date_time_scanner.cc
|
|
|
|
|
2013-07-28 23:33:11 +02:00
|
|
|
test_grep_proc2_SOURCES = test_grep_proc2.cc
|
2009-09-14 03:07:32 +02:00
|
|
|
|
2013-07-28 23:33:11 +02:00
|
|
|
test_line_buffer2_SOURCES = test_line_buffer2.cc
|
2009-09-14 03:07:32 +02:00
|
|
|
|
2014-03-16 23:07:08 +01:00
|
|
|
test_log_accel_SOURCES = test_log_accel.cc
|
|
|
|
|
2022-09-16 06:11:30 +02:00
|
|
|
test_text_anonymizer_SOURCES = test_text_anonymizer.cc
|
|
|
|
|
2013-06-08 19:51:54 +02:00
|
|
|
test_top_status_SOURCES = test_top_status.cc
|
2013-06-26 03:52:51 +02:00
|
|
|
|
2016-08-22 15:45:27 +02:00
|
|
|
test_abbrev_SOURCES = test_abbrev.cc
|
2014-05-05 15:44:58 +02:00
|
|
|
|
2015-09-14 17:56:42 +02:00
|
|
|
test_reltime_SOURCES = test_reltime.cc
|
|
|
|
|
2017-08-01 19:17:30 +02:00
|
|
|
test_ncurses_unicode_SOURCES = test_ncurses_unicode.cc
|
|
|
|
|
2017-04-25 14:41:14 +02:00
|
|
|
lnav_doctests_SOURCES = lnav_doctests.cc
|
|
|
|
|
2013-07-28 23:33:11 +02:00
|
|
|
drive_line_buffer_SOURCES = drive_line_buffer.cc
|
|
|
|
|
|
|
|
drive_grep_proc_SOURCES = drive_grep_proc.cc
|
2014-05-05 15:44:58 +02:00
|
|
|
|
2013-07-28 23:33:11 +02:00
|
|
|
drive_listview_SOURCES = drive_listview.cc
|
|
|
|
|
|
|
|
drive_logfile_SOURCES = drive_logfile.cc
|
2009-09-14 03:07:32 +02:00
|
|
|
|
2015-12-19 07:39:27 +01:00
|
|
|
drive_shlexer_SOURCES = drive_shlexer.cc
|
|
|
|
|
2011-06-13 16:46:03 +02:00
|
|
|
drive_data_scanner_SOURCES = \
|
|
|
|
drive_data_scanner.cc
|
|
|
|
|
2014-03-08 14:26:49 +01:00
|
|
|
drive_mvwattrline_SOURCES = drive_mvwattrline.cc
|
|
|
|
|
2013-07-28 23:33:11 +02:00
|
|
|
drive_view_colors_SOURCES = drive_view_colors.cc
|
|
|
|
|
|
|
|
drive_vt52_curses_SOURCES = drive_vt52_curses.cc
|
|
|
|
|
|
|
|
drive_readline_curses_SOURCES = drive_readline_curses.cc
|
2013-05-29 16:28:57 +02:00
|
|
|
|
2019-05-08 14:30:59 +02:00
|
|
|
drive_sql_SOURCES = drive_sql.cc
|
|
|
|
|
|
|
|
drive_sql_anno_SOURCES = drive_sql_anno.cc
|
2017-03-26 15:02:53 +02:00
|
|
|
|
2013-07-28 23:33:11 +02:00
|
|
|
slicer_SOURCES = slicer.cc
|
2009-09-14 03:07:32 +02:00
|
|
|
|
|
|
|
scripty_SOURCES = scripty.cc
|
|
|
|
|
2009-09-30 01:21:33 +02:00
|
|
|
dist_noinst_SCRIPTS = \
|
2013-06-08 15:10:18 +02:00
|
|
|
parser_debugger.py \
|
2015-08-20 06:02:26 +02:00
|
|
|
test_cli.sh \
|
2014-03-03 01:52:18 +01:00
|
|
|
test_cmds.sh \
|
2019-05-03 22:50:19 +02:00
|
|
|
test_config.sh \
|
2015-08-02 15:43:57 +02:00
|
|
|
test_curl.sh \
|
2011-06-18 22:42:07 +02:00
|
|
|
test_data_parser.sh \
|
2022-06-09 21:49:06 +02:00
|
|
|
test_events.sh \
|
2015-08-10 06:03:23 +02:00
|
|
|
test_format_installer.sh \
|
2015-07-20 15:33:52 +02:00
|
|
|
test_format_loader.sh \
|
2009-09-30 01:21:33 +02:00
|
|
|
test_grep_proc.sh \
|
2014-03-03 07:26:41 +01:00
|
|
|
test_json_format.sh \
|
2009-09-30 01:21:33 +02:00
|
|
|
test_line_buffer.sh \
|
|
|
|
test_listview.sh \
|
|
|
|
test_logfile.sh \
|
2018-05-17 16:06:50 +02:00
|
|
|
test_meta.sh \
|
2014-03-08 14:26:49 +01:00
|
|
|
test_mvwattrline.sh \
|
2022-04-30 22:05:42 +02:00
|
|
|
test_regex101.sh \
|
2021-05-20 07:05:21 +02:00
|
|
|
test_remote.sh \
|
2016-03-07 08:58:37 +01:00
|
|
|
test_scripts.sh \
|
2014-03-07 14:20:49 +01:00
|
|
|
test_sessions.sh \
|
2015-12-19 07:39:27 +01:00
|
|
|
test_shlexer.sh \
|
2014-03-03 01:52:18 +01:00
|
|
|
test_sql.sh \
|
2020-08-27 07:44:12 +02:00
|
|
|
test_sql_anno.sh \
|
2013-06-06 16:01:32 +02:00
|
|
|
test_sql_coll_func.sh \
|
2022-07-02 01:02:14 +02:00
|
|
|
test_sql_fs_func.sh \
|
|
|
|
test_sql_indexes.sh \
|
2014-05-05 15:44:58 +02:00
|
|
|
test_sql_json_func.sh \
|
2022-08-31 07:28:12 +02:00
|
|
|
test_sql_regexp.sh \
|
2022-07-02 01:02:14 +02:00
|
|
|
test_sql_search_table.sh \
|
2013-07-09 15:51:18 +02:00
|
|
|
test_sql_str_func.sh \
|
2015-10-03 23:58:01 +02:00
|
|
|
test_sql_time_func.sh \
|
2022-07-21 15:58:01 +02:00
|
|
|
test_sql_views_vtab.sh \
|
2020-12-24 00:01:21 +01:00
|
|
|
test_sql_xml_func.sh \
|
2022-08-29 03:55:32 +02:00
|
|
|
test_sql_yaml_func.sh \
|
2022-07-23 07:21:16 +02:00
|
|
|
test_text_file.sh \
|
2021-02-03 06:58:42 +01:00
|
|
|
test_tui.sh \
|
2012-07-03 21:01:09 +02:00
|
|
|
test_view_colors.sh \
|
2015-04-19 09:00:43 +02:00
|
|
|
test_vt52_curses.sh \
|
|
|
|
test_pretty_print.sh
|
2009-09-30 01:21:33 +02:00
|
|
|
|
2022-04-30 22:05:42 +02:00
|
|
|
include expected/expected.am
|
|
|
|
|
2009-09-30 01:21:33 +02:00
|
|
|
dist_noinst_DATA = \
|
2022-04-30 22:05:42 +02:00
|
|
|
$(EXPECTED_FILES) \
|
2022-09-22 19:54:09 +02:00
|
|
|
expected/test_tailer.sh_12f539e535df04364316699f9edeac461aa9f9de.err \
|
|
|
|
expected/test_tailer.sh_12f539e535df04364316699f9edeac461aa9f9de.out \
|
2013-06-08 16:57:40 +02:00
|
|
|
ansi-colors.0.in \
|
2022-04-13 01:37:53 +02:00
|
|
|
bad-config/formats/invalid-properties/format.json \
|
2015-07-20 15:33:52 +02:00
|
|
|
bad-config/formats/invalid-regex/format.json \
|
|
|
|
bad-config/formats/invalid-sample/format.json \
|
2022-04-13 01:37:53 +02:00
|
|
|
bad-config/formats/invalid-schema/format.json \
|
2015-11-27 07:19:53 +01:00
|
|
|
bad-config/formats/invalid-sql/init.sql \
|
2022-04-13 01:37:53 +02:00
|
|
|
bad-config/formats/invalid-sql/init2.sql \
|
|
|
|
bad-config/formats/no-regexes/format.json \
|
2015-08-13 07:34:41 +02:00
|
|
|
bad-config/formats/no-samples/format.json \
|
2019-05-03 23:29:27 +02:00
|
|
|
bad-config2/formats/invalid-config/config.json \
|
2022-04-13 01:37:53 +02:00
|
|
|
bad-config2/formats/invalid-config/config.bad-schema.json \
|
2019-05-04 19:35:23 +02:00
|
|
|
bad-config2/formats/invalid-config/config.malformed.json \
|
|
|
|
bad-config2/formats/invalid-config/config.truncated.json \
|
2017-04-24 15:18:04 +02:00
|
|
|
bad-config-json/formats/invalid-json/format.json \
|
2017-04-24 15:36:17 +02:00
|
|
|
bad-config-json/formats/invalid-key/format.json \
|
2021-03-19 23:43:03 +01:00
|
|
|
books.xml \
|
2021-03-29 18:35:11 +02:00
|
|
|
file_for_dot_read.sql \
|
2011-06-18 22:42:07 +02:00
|
|
|
datafile_simple.0 \
|
|
|
|
datafile_simple.1 \
|
|
|
|
datafile_simple.2 \
|
|
|
|
datafile_simple.3 \
|
|
|
|
datafile_simple.4 \
|
|
|
|
datafile_simple.5 \
|
2013-05-24 16:55:56 +02:00
|
|
|
datafile_simple.6 \
|
|
|
|
datafile_simple.7 \
|
2014-03-09 20:55:02 +01:00
|
|
|
datafile_simple.8 \
|
|
|
|
datafile_simple.9 \
|
|
|
|
datafile_simple.10 \
|
2014-03-11 11:49:47 +01:00
|
|
|
datafile_simple.11 \
|
2014-04-01 22:07:58 +02:00
|
|
|
datafile_simple.12 \
|
|
|
|
datafile_simple.13 \
|
2016-04-29 08:34:13 +02:00
|
|
|
datafile_simple.14 \
|
|
|
|
datafile_simple.15 \
|
|
|
|
datafile_simple.16 \
|
|
|
|
datafile_simple.17 \
|
|
|
|
datafile_simple.18 \
|
|
|
|
datafile_simple.19 \
|
|
|
|
datafile_simple.20 \
|
2022-08-21 06:23:42 +02:00
|
|
|
datafile_simple.21 \
|
|
|
|
datafile_simple.22 \
|
2015-03-17 07:10:34 +01:00
|
|
|
datafile_xml.0 \
|
2021-11-05 23:13:16 +01:00
|
|
|
dhcp.pcapng \
|
|
|
|
dhcp-trunc.pcapng \
|
2017-04-15 07:49:36 +02:00
|
|
|
expected_help.txt \
|
2009-09-30 01:21:33 +02:00
|
|
|
listview_output.0 \
|
|
|
|
listview_output.1 \
|
|
|
|
listview_output.2 \
|
|
|
|
listview_output.3 \
|
|
|
|
listview_output.4 \
|
|
|
|
listview_output.5 \
|
|
|
|
listview_output.6 \
|
2016-08-23 15:34:18 +02:00
|
|
|
log.clog \
|
2009-09-30 01:21:33 +02:00
|
|
|
logfile_access_log.0 \
|
2013-06-22 16:00:59 +02:00
|
|
|
logfile_access_log.1 \
|
2022-08-03 22:46:36 +02:00
|
|
|
logfile_ansi.0 \
|
2022-09-20 06:15:28 +02:00
|
|
|
logfile_ansi.1 \
|
2015-07-12 01:32:48 +02:00
|
|
|
logfile_bad_access_log.0 \
|
|
|
|
logfile_bad_syslog.0 \
|
2021-08-29 07:01:36 +02:00
|
|
|
logfile_block.1 \
|
|
|
|
logfile_block.2 \
|
|
|
|
logfile_blued.0 \
|
2017-04-23 16:11:21 +02:00
|
|
|
logfile_bro_conn.log.0 \
|
|
|
|
logfile_bro_http.log.0 \
|
2018-10-12 16:46:18 +02:00
|
|
|
logfile_crlf.0 \
|
2018-04-02 22:25:07 +02:00
|
|
|
logfile_cxx.0 \
|
2009-09-30 01:21:33 +02:00
|
|
|
logfile_empty.0 \
|
2015-04-11 09:52:06 +02:00
|
|
|
logfile_epoch.0 \
|
2016-11-22 19:02:38 +01:00
|
|
|
logfile_epoch.1 \
|
2014-12-10 16:03:01 +01:00
|
|
|
logfile_filter.0 \
|
2014-11-04 05:41:38 +01:00
|
|
|
logfile_for_join.0 \
|
2012-07-03 21:01:09 +02:00
|
|
|
logfile_generic.0 \
|
2015-05-02 05:52:00 +02:00
|
|
|
logfile_generic.1 \
|
2015-05-17 14:15:41 +02:00
|
|
|
logfile_generic.2 \
|
2021-08-30 07:30:21 +02:00
|
|
|
logfile_generic.3 \
|
2019-05-17 16:42:05 +02:00
|
|
|
logfile_generic_with_header.0 \
|
2013-05-18 02:44:55 +02:00
|
|
|
logfile_glog.0 \
|
2019-03-14 00:37:41 +01:00
|
|
|
logfile_haproxy.0 \
|
2019-09-10 07:10:50 +02:00
|
|
|
logfile_invalid_json.json \
|
2021-11-05 23:13:16 +01:00
|
|
|
logfile_invalid_json2.json \
|
2022-09-25 06:19:20 +02:00
|
|
|
logfile_mixed_json2.json \
|
2018-08-21 20:21:57 +02:00
|
|
|
logfile_journald.json \
|
2014-03-03 07:26:41 +01:00
|
|
|
logfile_json.json \
|
2016-03-28 00:28:47 +02:00
|
|
|
logfile_json2.json \
|
2017-04-07 08:20:02 +02:00
|
|
|
logfile_json3.json \
|
2022-10-03 06:58:10 +02:00
|
|
|
logfile_json_subsec.json \
|
2016-07-01 06:59:51 +02:00
|
|
|
logfile_leveltest.0 \
|
2021-10-03 08:17:33 +02:00
|
|
|
logfile_logfmt.0 \
|
2014-03-03 01:52:18 +01:00
|
|
|
logfile_multiline.0 \
|
2015-04-26 16:12:30 +02:00
|
|
|
logfile_nested_json.json \
|
2014-11-04 05:41:38 +01:00
|
|
|
logfile_openam.0 \
|
2015-03-28 14:30:30 +01:00
|
|
|
logfile_plain.0 \
|
2015-04-08 06:37:25 +02:00
|
|
|
logfile_pretty.0 \
|
2022-07-02 01:02:14 +02:00
|
|
|
logfile_procstate.0 \
|
2016-05-03 15:43:00 +02:00
|
|
|
logfile_rollover.0 \
|
2017-04-24 16:29:55 +02:00
|
|
|
logfile_rollover.1 \
|
2010-02-24 05:35:52 +01:00
|
|
|
logfile_strace_log.0 \
|
2009-09-30 01:21:33 +02:00
|
|
|
logfile_syslog.0 \
|
|
|
|
logfile_syslog.1 \
|
2014-11-04 05:41:38 +01:00
|
|
|
logfile_syslog.2 \
|
2022-08-16 23:51:08 +02:00
|
|
|
logfile_syslog.3 \
|
2018-08-22 06:43:32 +02:00
|
|
|
logfile_syslog_fr.0 \
|
2015-07-19 11:40:02 +02:00
|
|
|
logfile_syslog_with_access_log.0 \
|
2019-05-17 16:42:05 +02:00
|
|
|
logfile_syslog_with_header.0 \
|
2015-09-14 17:56:42 +02:00
|
|
|
logfile_syslog_with_mixed_times.0 \
|
2016-04-03 05:58:20 +02:00
|
|
|
logfile_tai64n.0 \
|
2014-04-07 07:11:04 +02:00
|
|
|
logfile_tcf.0 \
|
|
|
|
logfile_tcf.1 \
|
2009-09-30 01:21:33 +02:00
|
|
|
logfile_tcsh_history.0 \
|
2020-09-24 22:22:42 +02:00
|
|
|
logfile_uwsgi.0 \
|
2015-04-05 22:19:45 +02:00
|
|
|
logfile_vami.0 \
|
2014-11-11 17:44:44 +01:00
|
|
|
logfile_vdsm.0 \
|
2022-09-02 06:16:28 +02:00
|
|
|
logfile_vmw_log.0 \
|
2022-07-06 06:46:12 +02:00
|
|
|
logfile_vpxd.0 \
|
2020-12-06 08:33:17 +01:00
|
|
|
logfile_w3c.0 \
|
|
|
|
logfile_w3c.1 \
|
|
|
|
logfile_w3c.2 \
|
|
|
|
logfile_w3c.3 \
|
|
|
|
logfile_w3c.4 \
|
|
|
|
logfile_w3c.5 \
|
|
|
|
logfile_w3c.6 \
|
|
|
|
logfile_w3c_big.0 \
|
2009-09-30 01:21:33 +02:00
|
|
|
logfile_with_a_really_long_name_to_test_a_bug_with_long_names.0 \
|
2021-03-19 23:43:03 +01:00
|
|
|
logfile_xml_msg.0 \
|
2015-04-08 07:13:44 +02:00
|
|
|
multiline.lnav \
|
2015-12-19 15:18:47 +01:00
|
|
|
nested.lnav \
|
2014-03-08 14:26:49 +01:00
|
|
|
mvwattrline_output.0 \
|
2022-09-22 21:27:14 +02:00
|
|
|
textfile_0.md \
|
2022-08-03 23:19:54 +02:00
|
|
|
textfile_ansi.0 \
|
2015-08-19 05:58:20 +02:00
|
|
|
textfile_json_indented.0 \
|
|
|
|
textfile_json_one_line.0 \
|
2015-08-27 06:28:30 +02:00
|
|
|
textfile_quoted_json.0 \
|
2015-12-19 15:18:47 +01:00
|
|
|
toplevel.lnav \
|
2018-10-17 16:03:33 +02:00
|
|
|
UTF-8-test.txt \
|
2012-07-03 21:01:09 +02:00
|
|
|
view_colors_output.0 \
|
2009-09-30 01:21:33 +02:00
|
|
|
vt52_curses_input.0 \
|
|
|
|
vt52_curses_input.1 \
|
|
|
|
vt52_curses_output.0 \
|
2013-06-03 16:45:19 +02:00
|
|
|
vt52_curses_output.1 \
|
2021-02-07 07:13:08 +01:00
|
|
|
xpath_tui.0 \
|
2015-04-05 16:12:20 +02:00
|
|
|
formats/collision/format.json \
|
2016-07-01 06:59:51 +02:00
|
|
|
formats/customlevel/format.json \
|
2014-03-03 07:26:41 +01:00
|
|
|
formats/jsontest/format.json \
|
2016-08-23 15:50:01 +02:00
|
|
|
formats/jsontest/lnav-logstash.json \
|
2016-12-06 16:14:54 +01:00
|
|
|
formats/jsontest/rewrite-user.lnav \
|
2016-03-28 00:28:47 +02:00
|
|
|
formats/jsontest2/format.json \
|
2017-04-07 08:20:02 +02:00
|
|
|
formats/jsontest3/format.json \
|
2022-10-03 06:58:10 +02:00
|
|
|
formats/jsontest-subsec/format.json \
|
2015-04-26 16:12:30 +02:00
|
|
|
formats/nestedjson/format.json \
|
2016-03-07 08:58:37 +01:00
|
|
|
formats/scripts/multiline-echo.lnav \
|
2018-10-12 16:12:35 +02:00
|
|
|
formats/scripts/redirecting.lnav \
|
|
|
|
formats/scripts/nested-redirecting.lnav \
|
2015-11-27 07:19:53 +01:00
|
|
|
formats/sqldir/init.sql \
|
2015-04-11 09:52:06 +02:00
|
|
|
formats/timestamp/format.json \
|
2021-03-20 05:29:18 +01:00
|
|
|
formats/xmlmsg/format.json \
|
2013-06-03 16:45:19 +02:00
|
|
|
log-samples/sample-27353a72ba4025448f261dcfa6ea16e474187795.txt \
|
|
|
|
log-samples/sample-70c906b3c1a1cf03f15bde92ee78edfa6f9b7960.txt \
|
2021-02-03 06:58:42 +01:00
|
|
|
log-samples/sample-ad31f12d2adabd07e3ddda3ad5b0dbf6b49c4c99.txt \
|
2021-05-21 00:48:05 +02:00
|
|
|
remote-log-dir/logfile_access_log.0 \
|
|
|
|
remote-log-dir/logfile_access_log.1 \
|
2021-02-06 01:04:34 +01:00
|
|
|
tui-captures/tui_echo.0 \
|
2021-02-03 06:58:42 +01:00
|
|
|
tui-captures/tui_help.0
|
2009-09-30 01:21:33 +02:00
|
|
|
|
2013-06-08 19:51:54 +02:00
|
|
|
TESTS = \
|
2017-04-25 14:41:14 +02:00
|
|
|
lnav_doctests \
|
2016-08-22 15:45:27 +02:00
|
|
|
test_abbrev \
|
2013-06-08 19:51:54 +02:00
|
|
|
test_ansi_scrubber \
|
2009-09-14 03:07:32 +02:00
|
|
|
test_auto_fd \
|
|
|
|
test_auto_mem \
|
2013-06-08 19:51:54 +02:00
|
|
|
test_bookmarks \
|
2014-03-22 16:02:48 +01:00
|
|
|
test_date_time_scanner \
|
2015-08-10 06:03:23 +02:00
|
|
|
test_format_installer.sh \
|
2015-07-20 15:33:52 +02:00
|
|
|
test_format_loader.sh \
|
2015-08-20 06:02:26 +02:00
|
|
|
test_cli.sh \
|
2014-03-03 01:52:18 +01:00
|
|
|
test_cmds.sh \
|
2019-05-03 22:50:19 +02:00
|
|
|
test_config.sh \
|
2022-06-09 21:49:06 +02:00
|
|
|
test_events.sh \
|
2014-02-21 05:00:51 +01:00
|
|
|
test_listview.sh \
|
2018-05-17 16:06:50 +02:00
|
|
|
test_meta.sh \
|
2021-01-08 23:08:52 +01:00
|
|
|
test_mvwattrline.sh \
|
2009-09-14 03:07:32 +02:00
|
|
|
test_grep_proc.sh \
|
|
|
|
test_grep_proc2 \
|
2014-03-03 07:26:41 +01:00
|
|
|
test_json_format.sh \
|
2014-03-16 23:07:08 +01:00
|
|
|
test_log_accel \
|
2014-03-15 12:40:58 +01:00
|
|
|
test_logfile.sh \
|
2015-09-14 17:56:42 +02:00
|
|
|
test_reltime \
|
2016-03-07 08:58:37 +01:00
|
|
|
test_scripts.sh \
|
2014-03-07 14:20:49 +01:00
|
|
|
test_sessions.sh \
|
2015-12-19 07:39:27 +01:00
|
|
|
test_shlexer.sh \
|
2014-03-02 17:55:00 +01:00
|
|
|
test_sql.sh \
|
2020-08-27 07:44:12 +02:00
|
|
|
test_sql_anno.sh \
|
2013-06-06 16:01:32 +02:00
|
|
|
test_sql_coll_func.sh \
|
2013-05-29 16:28:57 +02:00
|
|
|
test_sql_fs_func.sh \
|
2022-07-02 01:02:14 +02:00
|
|
|
test_sql_indexes.sh \
|
|
|
|
test_sql_json_func.sh \
|
2022-08-31 07:28:12 +02:00
|
|
|
test_sql_regexp.sh \
|
2022-07-02 01:02:14 +02:00
|
|
|
test_sql_search_table.sh \
|
2013-07-06 18:16:01 +02:00
|
|
|
test_sql_str_func.sh \
|
2015-10-03 23:58:01 +02:00
|
|
|
test_sql_time_func.sh \
|
2022-07-21 15:58:01 +02:00
|
|
|
test_sql_views_vtab.sh \
|
2020-12-24 00:01:21 +01:00
|
|
|
test_sql_xml_func.sh \
|
2022-08-29 03:55:32 +02:00
|
|
|
test_sql_yaml_func.sh \
|
2022-09-16 06:11:30 +02:00
|
|
|
test_text_anonymizer \
|
2022-07-23 07:21:16 +02:00
|
|
|
test_text_file.sh \
|
2021-02-03 06:58:42 +01:00
|
|
|
test_tui.sh \
|
2013-06-26 03:52:51 +02:00
|
|
|
test_data_parser.sh \
|
2020-11-10 07:18:17 +01:00
|
|
|
test_pretty_print.sh \
|
2021-01-08 23:08:52 +01:00
|
|
|
test_view_colors.sh \
|
2020-11-10 07:18:17 +01:00
|
|
|
test_vt52_curses.sh
|
2010-01-02 21:28:14 +01:00
|
|
|
|
2018-08-19 08:20:12 +02:00
|
|
|
DISABLED_TESTS = \
|
2022-05-01 04:27:34 +02:00
|
|
|
test_regex101.sh \
|
2021-09-08 06:08:01 +02:00
|
|
|
test_remote.sh \
|
2021-01-30 06:03:42 +01:00
|
|
|
test_top_status \
|
|
|
|
test_line_buffer2 \
|
|
|
|
test_line_buffer.sh
|
2018-08-19 08:20:12 +02:00
|
|
|
|
2015-08-02 15:43:57 +02:00
|
|
|
if HAVE_LIBCURL
|
|
|
|
TESTS += \
|
|
|
|
test_curl.sh
|
|
|
|
endif
|
|
|
|
|
2010-01-02 21:28:14 +01:00
|
|
|
DISTCLEANFILES = \
|
2022-04-30 22:05:42 +02:00
|
|
|
*.cmd \
|
2010-01-02 21:28:14 +01:00
|
|
|
*.dat \
|
2022-04-30 22:05:42 +02:00
|
|
|
*.out \
|
2014-03-03 07:26:41 +01:00
|
|
|
*.err \
|
2013-06-08 15:10:18 +02:00
|
|
|
*.db \
|
|
|
|
*.dpt \
|
2013-05-31 17:01:31 +02:00
|
|
|
*.diff \
|
2010-01-02 21:28:14 +01:00
|
|
|
*.index \
|
2014-03-15 12:40:58 +01:00
|
|
|
*.tmp \
|
|
|
|
*.gz \
|
2014-11-04 05:41:38 +01:00
|
|
|
*.bz2 \
|
2022-04-30 22:05:42 +02:00
|
|
|
*.outbak \
|
2021-09-08 07:39:39 +02:00
|
|
|
*.errbak \
|
|
|
|
*.tmpbak \
|
2021-01-11 07:04:55 +01:00
|
|
|
*.xz \
|
2022-07-23 06:11:35 +02:00
|
|
|
exported-session.0.lnav \
|
2018-10-12 16:23:28 +02:00
|
|
|
hw.txt \
|
|
|
|
hw2.txt \
|
2019-07-25 16:31:46 +02:00
|
|
|
reload_test.0 \
|
2014-11-04 05:41:38 +01:00
|
|
|
truncfile.0 \
|
2021-09-08 08:07:34 +02:00
|
|
|
ln.dbg \
|
2014-11-07 05:41:25 +01:00
|
|
|
logfile_append.0 \
|
2015-12-23 07:44:42 +01:00
|
|
|
logfile_changed.0 \
|
2017-04-24 16:29:55 +02:00
|
|
|
logfile_rollover.1.live \
|
2015-04-05 00:12:26 +02:00
|
|
|
test.log \
|
2015-11-15 15:25:08 +01:00
|
|
|
logfile_stdin.log \
|
2020-12-08 18:29:52 +01:00
|
|
|
logfile_stdin.0.log \
|
2020-09-04 07:13:21 +02:00
|
|
|
logfile_syslog_test.0 \
|
2020-12-19 07:35:23 +01:00
|
|
|
logfile_syslog_test.2 \
|
2020-09-04 07:13:21 +02:00
|
|
|
logfile_syslog_fr_test.0 \
|
|
|
|
logfile_syslog_with_mixed_times_test.0 \
|
2022-09-04 15:38:39 +02:00
|
|
|
textfile_long_lines.0 \
|
2021-06-08 01:04:41 +02:00
|
|
|
not:a:remote:file \
|
2022-05-24 07:55:32 +02:00
|
|
|
rollover_in.0 \
|
2020-10-29 05:17:57 +01:00
|
|
|
test-logs.tgz \
|
2021-01-17 07:23:20 +01:00
|
|
|
test-logs-trunc.tgz \
|
2020-05-20 07:23:16 +02:00
|
|
|
test_pretty_in.* \
|
2020-10-29 05:17:57 +01:00
|
|
|
tmp \
|
2015-11-15 15:25:08 +01:00
|
|
|
unreadable.log \
|
2022-07-28 06:49:14 +02:00
|
|
|
UTF-8-test.md \
|
2016-03-07 08:58:37 +01:00
|
|
|
empty \
|
|
|
|
scripts-empty
|
2014-03-07 15:29:20 +01:00
|
|
|
|
2022-09-04 06:03:33 +02:00
|
|
|
test_remote.sh.log: remote/ssh_host_dsa_key remote/ssh_host_rsa_key remote/id_rsa
|
2021-05-20 07:05:21 +02:00
|
|
|
|
2014-03-07 15:29:20 +01:00
|
|
|
distclean-local:
|
2021-06-08 19:57:11 +02:00
|
|
|
$(RM_V)rm -rf remote remote-tmp not:a:remote:dir
|
2015-03-25 10:13:18 +01:00
|
|
|
$(RM_V)rm -rf sessions
|
2020-10-29 05:17:57 +01:00
|
|
|
$(RM_V)rm -rf tmp
|
2020-11-01 06:19:41 +01:00
|
|
|
$(RM_V)rm -rf rotmp
|
2018-05-17 16:37:58 +02:00
|
|
|
$(RM_V)rm -rf meta-sessions
|
2021-07-04 06:57:50 +02:00
|
|
|
$(RM_V)rm -rf nested
|
2019-08-11 06:59:43 +02:00
|
|
|
$(RM_V)rm -rf test-config
|
2015-03-25 10:13:18 +01:00
|
|
|
$(RM_V)rm -rf .lnav
|
2022-04-30 22:05:42 +02:00
|
|
|
$(RM_V)rm -rf regex101-home
|
2022-06-29 07:23:56 +02:00
|
|
|
$(RM_V)rm -rf events-home
|
2022-08-06 07:23:19 +02:00
|
|
|
$(RM_V)rm -rf support-dump
|
2015-08-10 06:03:23 +02:00
|
|
|
$(RM_V)rm -rf ../installer-test-home
|
2022-04-30 22:05:42 +02:00
|
|
|
|
|
|
|
expected:
|
|
|
|
$(top_srcdir)/update_expected_output.sh $(srcdir) $(builddir)
|
|
|
|
|
|
|
|
.PHONY: expected
|