done
DRIVER="driver_test:arg" test_plugin driver
-GWOPT+="-mdummy_module=with,some,argument" test_plugin module
+MODULE="dummy_module=with,some,argument" test_plugin module
# clean
rm -f ./*.gcda ./*.gcno vgcore.* ./*.o ./*.so
: "${ANSI_BOLD:=\033[33;1m}"
: "${DRIVER:=dummy}"
+: "${MODULE:=dummy}"
: "${SUPP:=help/supp}"
: "${ASYNC:=4}"
vlog=${GWION_TEST_DIR}/${GWION_TEST_PREFIX}$(printf "%04i" "$n").valgrind.log
rlog=${GWION_TEST_DIR}/${GWION_TEST_PREFIX}$(printf "%04i" "$n").log
if [ "$VALGRIND" == "NO_VALGRIND" ]
- then LANG=C ./"$PRG" "$GWOPT" -d "$DRIVER" "$file" > "$slog" 2>"$elog" |:
+ then LANG=C ./"$PRG" "$GWOPT" -m "$MODULE" -d "$DRIVER" "$file" > "$slog" 2>"$elog" |:
else
LANG=C "$VALGRIND" --suppressions="$SUPP" --log-file="$vlog" \
- ./"$PRG" "$GWOPT" -d "$DRIVER" "$file" > "$slog" 2>"$elog" |:
+ ./"$PRG" "$GWOPT" -m "$MODULE" -d "$DRIVER" "$file" > "$slog" 2>"$elog" |:
fi
ret=$?
#enable skip