Skip to content

Commit

Permalink
tests: Rename kmod-testsuite to system-kmod-testsuite.
Browse files Browse the repository at this point in the history
The name makes more sense, especially with the addition of a userspace
system testsuite.  No functional change in this commit.

Signed-off-by: Daniele Di Proietto <[email protected]>
Acked-by: Joe Stringer <[email protected]>
  • Loading branch information
ddiproietto authored and joestringer committed Aug 7, 2015
1 parent da8005a commit f752620
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion tests/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
/idltest.c
/idltest.h
/idltest.ovsidl
/kmod-testsuite
/ovstest
/test-dpdkr
/ovs-pki.log
/pki/
/system-kmod-testsuite
/test-aes128
/test-atomic
/test-bundle
Expand Down
24 changes: 12 additions & 12 deletions tests/automake.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
EXTRA_DIST += \
$(COMMON_MACROS_AT) \
$(TESTSUITE_AT) \
$(KMOD_TESTSUITE_AT) \
$(SYSTEM_KMOD_TESTSUITE_AT) \
$(TESTSUITE) \
$(KMOD_TESTSUITE) \
$(SYSTEM_KMOD_TESTSUITE) \
tests/atlocal.in \
$(srcdir)/package.m4 \
$(srcdir)/tests/testsuite \
Expand Down Expand Up @@ -85,15 +85,15 @@ TESTSUITE_AT = \
tests/auto-attach.at \
tests/ovn.at

KMOD_TESTSUITE_AT = \
tests/kmod-testsuite.at \
tests/kmod-macros.at \
tests/traffic-common-macros.at \
tests/traffic.at
SYSTEM_KMOD_TESTSUITE_AT = \
tests/system-common-macros.at \
tests/system-kmod-testsuite.at \
tests/system-kmod-macros.at \
tests/system-traffic.at

TESTSUITE = $(srcdir)/tests/testsuite
TESTSUITE_PATCH = $(srcdir)/tests/testsuite.patch
KMOD_TESTSUITE = $(srcdir)/tests/kmod-testsuite
SYSTEM_KMOD_TESTSUITE = $(srcdir)/tests/system-kmod-testsuite
DISTCLEANFILES += tests/atconfig tests/atlocal

AUTOTEST_PATH = utilities:vswitchd:ovsdb:vtep:tests:$(PTHREAD_WIN32_DIR_DLL)
Expand Down Expand Up @@ -190,11 +190,11 @@ check-ryu: all
EXTRA_DIST += tests/run-ryu

# Run kmod tests. Assume kernel modules has been installed or linked into the kernel
check-kernel: all tests/atconfig tests/atlocal $(KMOD_TESTSUITE)
$(SHELL) '$(KMOD_TESTSUITE)' -C tests AUTOTEST_PATH='$(AUTOTEST_PATH)' -d $(TESTSUITEFLAGS)
check-kernel: all tests/atconfig tests/atlocal $(SYSTEM_KMOD_TESTSUITE)
$(SHELL) '$(SYSTEM_KMOD_TESTSUITE)' -C tests AUTOTEST_PATH='$(AUTOTEST_PATH)' -d $(TESTSUITEFLAGS)

# Testing the out of tree Kernel module
check-kmod: all tests/atconfig tests/atlocal $(KMOD_TESTSUITE)
check-kmod: all tests/atconfig tests/atlocal $(SYSTEM_KMOD_TESTSUITE)
$(MAKE) modules_install
modprobe -r openvswitch
$(MAKE) check-kernel
Expand All @@ -215,7 +215,7 @@ $(TESTSUITE): package.m4 $(TESTSUITE_AT) $(COMMON_MACROS_AT)
$(AM_V_at)mv $@.tmp $@
endif

$(KMOD_TESTSUITE): package.m4 $(KMOD_TESTSUITE_AT) $(COMMON_MACROS_AT)
$(SYSTEM_KMOD_TESTSUITE): package.m4 $(SYSTEM_KMOD_TESTSUITE_AT) $(COMMON_MACROS_AT)
$(AM_V_GEN)$(AUTOTEST) -I '$(srcdir)' -o $@.tmp $@.at
$(AM_V_at)mv $@.tmp $@

Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions tests/kmod-testsuite.at → tests/system-kmod-testsuite.at
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.])
m4_include([tests/ovs-macros.at])
m4_include([tests/ovsdb-macros.at])
m4_include([tests/ofproto-macros.at])
m4_include([tests/kmod-macros.at])
m4_include([tests/traffic-common-macros.at])
m4_include([tests/system-common-macros.at])
m4_include([tests/system-kmod-macros.at])

m4_include([tests/traffic.at])
m4_include([tests/system-traffic.at])
File renamed without changes.

0 comments on commit f752620

Please sign in to comment.