Some settings are equal for each test, so it is easier to write them down once and include them then in every test.
We have two version here (all and alice) to avoid that bob is booted when we are using only alice. (The all statement is substituded to alice: and bob: so we have a command for bob and the machine is booted, which costs time.)
Signed-off-by: Jonatan Schlag jonatan.schlag@ipfire.org --- Makefile.am | 8 ++++++-- test/nitsi/include/alice_network-settings | 1 + test/nitsi/include/network-settings | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 test/nitsi/include/alice_network-settings create mode 100644 test/nitsi/include/network-settings
diff --git a/Makefile.am b/Makefile.am index 66d2e8d..1f75ef3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -589,13 +589,17 @@ NITSI_INCLUDE_RECIPES = \ test/nitsi/include/make-install \ test/nitsi/include/alice_make-install \ test/nitsi/include/alice_network-reset \ - test/nitsi/include/network-reset + test/nitsi/include/network-reset \ + test/nitsi/include/alice_network-settings \ + test/nitsi/include/network-settings
EXTRA_DIST += \ test/nitsi/include/make-install.in \ test/nitsi/include/alice_make-install.in \ test/nitsi/include/alice_network-reset \ - test/nitsi/include/network-reset + test/nitsi/include/network-reset \ + test/nitsi/include/alice_network-settings \ + test/nitsi/include/network-settings
CLEANFILES += \ test/nitsi/include/make-install \ diff --git a/test/nitsi/include/alice_network-settings b/test/nitsi/include/alice_network-settings new file mode 100644 index 0000000..1c071de --- /dev/null +++ b/test/nitsi/include/alice_network-settings @@ -0,0 +1 @@ +alice: network settings DEBUG=1 diff --git a/test/nitsi/include/network-settings b/test/nitsi/include/network-settings new file mode 100644 index 0000000..535fe4c --- /dev/null +++ b/test/nitsi/include/network-settings @@ -0,0 +1 @@ +all: network settings DEBUG=1