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.
This commit is contained in:
Erik Arvstedt 2020-09-27 12:43:35 +02:00
parent bb763d6a26
commit 03f8dbba47
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,7 @@ env:
jobs: jobs:
- TestModules=1 STABLE=1 SCENARIO=default - TestModules=1 STABLE=1 SCENARIO=default
- TestModules=1 STABLE=1 SCENARIO=netns - TestModules=1 STABLE=1 SCENARIO=netns
- EvalModules=1 STABLE=1
- PKG=hwi STABLE=1 - PKG=hwi STABLE=1
- PKG=hwi STABLE=0 - PKG=hwi STABLE=0
- PKG=lightning-charge STABLE=1 - PKG=lightning-charge STABLE=1
@ -34,6 +35,12 @@ env:
- PKG=joinmarket STABLE=0 - PKG=joinmarket STABLE=0
script: script:
- printf '%s (%s)\n' "$NIX_PATH" "$VER" - printf '%s (%s)\n' "$NIX_PATH" "$VER"
#
- |
if [[ $EvalModules ]]; then
test/run-tests.sh --scenario full eval
travis_terminate 0
fi
- | - |
getBuildExpr() { getBuildExpr() {
if [[ $TestModules ]]; then if [[ $TestModules ]]; then

View File

@ -169,6 +169,7 @@ build() {
else else
scenario=default buildTest "$@" scenario=default buildTest "$@"
scenario=netns buildTest "$@" scenario=netns buildTest "$@"
scenario=full evalTest "$@"
fi fi
} }