aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2022-05-16 14:34:56 +0200
committerHarald Welte <laforge@osmocom.org>2022-05-16 17:44:01 +0200
commitd677f51187cf7c58026888a2d314821eba0202cf (patch)
tree9d245cd137b940ee266dce942d81a578da68ea8c
parent7262d0875a0f83d8a21e6dcdf3c570f7cbbdaf2a (diff)
tests: Remove sms.db{-wal,-shm} files, not just sms.db
ERROR: files left in build directory after distclean: ./sms.db-shm ./tests/sms.db-shm ./tests/sms.db-wal ./sms.db-wal Change-Id: Iecd380f598edbd1635361e4c340d54d092739919
-rw-r--r--tests/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c7651589e..d25fe16ec 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -69,7 +69,7 @@ else
IU=0 osmotestconfig.py -p $(abs_top_srcdir) -w $(abs_top_builddir) -v
endif
$(srcdir)/vty_test_runner.py -w $(abs_top_builddir) -v
- rm -f $(top_builddir)/sms.db
+ rm -f $(top_builddir)/sms.db*
# Run a specific transcript test with: 'make vty-transcript-test VTY_TEST=osmo-msc.vty'
VTY_TEST ?= *.vty
@@ -82,7 +82,7 @@ vty-transcript-test:
-n OsmoMSC -p 4254 \
-r "$(top_builddir)/src/osmo-msc/osmo-msc -c $(top_srcdir)/doc/examples/osmo-msc/osmo-msc.cfg" \
$(U) $(srcdir)/$(VTY_TEST)
- rm -f $(builddir)/sms.db
+ rm -f $(builddir)/sms.db*
# don't run multiple tests concurrently so that the ports don't conflict
vty-test:
@@ -91,7 +91,7 @@ vty-test:
ctrl-python-test: $(BUILT_SOURCES)
$(srcdir)/ctrl_test_runner.py -w $(abs_top_builddir) -v
- rm -f $(top_builddir)/sms.db
+ rm -f $(top_builddir)/sms.db*
# To update the CTRL script from current application behavior,
# pass -u to ctrl_script_runner.py by doing:
@@ -106,7 +106,7 @@ ctrl-test:
smpp-test:
$(srcdir)/smpp_test_runner.py -w $(abs_top_builddir) -v
- rm -f $(top_builddir)/sms.db
+ rm -f $(top_builddir)/sms.db*
check-local: atconfig $(TESTSUITE)
$(SHELL) '$(TESTSUITE)' $(TESTSUITEFLAGS)