From 03f8dbba472747f77ce3a14b4ee60f79f9531537 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Sun, 27 Sep 2020 12:43:35 +0200 Subject: [PATCH] test: add non-secure-node eval test This tests that the modules work without the secure-node template. The test currently fails at runtime, but evaluating already helps catching module-related errors. --- .travis.yml | 7 +++++++ test/run-tests.sh | 1 + 2 files changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index c3fe269..907f19b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ env: jobs: - TestModules=1 STABLE=1 SCENARIO=default - TestModules=1 STABLE=1 SCENARIO=netns + - EvalModules=1 STABLE=1 - PKG=hwi STABLE=1 - PKG=hwi STABLE=0 - PKG=lightning-charge STABLE=1 @@ -34,6 +35,12 @@ env: - PKG=joinmarket STABLE=0 script: - printf '%s (%s)\n' "$NIX_PATH" "$VER" + # + - | + if [[ $EvalModules ]]; then + test/run-tests.sh --scenario full eval + travis_terminate 0 + fi - | getBuildExpr() { if [[ $TestModules ]]; then diff --git a/test/run-tests.sh b/test/run-tests.sh index 5f99609..8e9b5e6 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -169,6 +169,7 @@ build() { else scenario=default buildTest "$@" scenario=netns buildTest "$@" + scenario=full evalTest "$@" fi }