From: fennecdjay Date: Wed, 9 Oct 2019 19:27:37 +0000 (+0200) Subject: :white_check_mark: improve testing X-Git-Tag: nightly~2198^2~73 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=7e46683cf74d3eb5b10ac867c7f1cfac1ed8ae5e;p=gwion.git :white_check_mark: improve testing --- diff --git a/tests/import/get_module.c b/tests/import/get_module.c index 2d58570d..19b72862 100644 --- a/tests/import/get_module.c +++ b/tests/import/get_module.c @@ -27,7 +27,8 @@ GWMODEND(dummy_module) { } GWION_IMPORT(dummy_module) { - GWI_OB(get_module(gwi->gwion, "dummy")) + GWI_OB(get_module(gwi->gwion, "dummy_module")) + puts("test passed!"); get_module(gwi->gwion, "non_existant_module"); return GW_OK; } diff --git a/tests/sh/import.sh b/tests/sh/import.sh index edf63e53..bf9653c5 100644 --- a/tests/sh/import.sh +++ b/tests/sh/import.sh @@ -1,5 +1,5 @@ #!/bin/bash -# [test] #34 +# [test] #37 n=0 [ "$1" ] && n="$1"