summaryrefslogtreecommitdiff
path: root/scripts/vsp-lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vsp-lib.sh')
-rwxr-xr-xscripts/vsp-lib.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh
index 7e06738..e4040f4 100755
--- a/scripts/vsp-lib.sh
+++ b/scripts/vsp-lib.sh
@@ -500,7 +500,7 @@ format_configure() {
#
test_init() {
- logfile=${1/sh/log}
+ export logfile=${1/sh/log}
local features=$2
local optional_features=$3
@@ -569,3 +569,7 @@ test_complete() {
rm -f frame-*.bin
rm -f histo-*.bin
}
+
+test_run() {
+ test_main | ./logger.sh error >> $logfile
+}