From 6b31ae9ce6bdca8682a6c936c6c20caae378e021 Mon Sep 17 00:00:00 2001 From: Christian Babeux Date: Thu, 22 Aug 2013 13:00:11 -0400 Subject: [PATCH] Tests: Rename tests under lib with tests naming convention Signed-off-by: Christian Babeux Signed-off-by: Mathieu Desnoyers --- tests/lib/Makefile.am | 8 ++++---- tests/lib/runall.sh | 6 +++--- tests/lib/{test-bitfield.c => test_bitfield.c} | 0 tests/lib/{test-seeks.c => test_seek.c} | 0 4 files changed, 7 insertions(+), 7 deletions(-) rename tests/lib/{test-bitfield.c => test_bitfield.c} (100%) rename tests/lib/{test-seeks.c => test_seek.c} (100%) diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am index 6ae694d3..a7de0a94 100644 --- a/tests/lib/Makefile.am +++ b/tests/lib/Makefile.am @@ -6,16 +6,16 @@ LIBTAP=$(top_builddir)/tests/utils/tap/libtap.la libtestcommon_a_SOURCES = common.c common.h -test_seeks_LDADD = $(LIBTAP) libtestcommon.a \ +test_seek_LDADD = $(LIBTAP) libtestcommon.a \ $(top_builddir)/lib/libbabeltrace.la \ $(top_builddir)/formats/ctf/libbabeltrace-ctf.la test_bitfield_LDADD = $(LIBTAP) libtestcommon.a -noinst_PROGRAMS = test-seeks test-bitfield +noinst_PROGRAMS = test_seek test_bitfield -test_seeks_SOURCES = test-seeks.c -test_bitfield_SOURCES = test-bitfield.c +test_seek_SOURCES = test_seek.c +test_bitfield_SOURCES = test_bitfield.c EXTRA_DIST = runall.sh diff --git a/tests/lib/runall.sh b/tests/lib/runall.sh index b5522ad0..5c282996 100755 --- a/tests/lib/runall.sh +++ b/tests/lib/runall.sh @@ -1,9 +1,9 @@ #!/bin/sh # run Seeks tests # With a trace than contains empty packets -./test-seeks ../ctf-traces/succeed/wk-heartbeat-u/ 1351532897586558519 1351532897591331194 +./test_seek ../ctf-traces/succeed/wk-heartbeat-u/ 1351532897586558519 1351532897591331194 # With a bigger trace -./test-seeks ../ctf-traces/succeed/lttng-modules-2.0-pre5/ 61334174524234 61336381998396 +./test_seek ../ctf-traces/succeed/lttng-modules-2.0-pre5/ 61334174524234 61336381998396 # run bitfield tests -./test-bitfield +./test_bitfield diff --git a/tests/lib/test-bitfield.c b/tests/lib/test_bitfield.c similarity index 100% rename from tests/lib/test-bitfield.c rename to tests/lib/test_bitfield.c diff --git a/tests/lib/test-seeks.c b/tests/lib/test_seek.c similarity index 100% rename from tests/lib/test-seeks.c rename to tests/lib/test_seek.c -- 2.34.1