Changes to ease working with ddd.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 11 Jan 2003 18:40:13 +0000 (18:40 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sat, 11 Jan 2003 18:40:13 +0000 (18:40 +0000)
t/src/test_bulk.sh
t/test_ddd [new file with mode: 0755]
t/untest_ddd [new file with mode: 0755]

index 1c2fee2412ea2e5a50a63c678dec041f2408cf8f..60156b6dcc61e81ec7f09e156f597e1e42f2fa65 100644 (file)
@@ -10,6 +10,14 @@ done
 
 echo "======================================================">> $logfile
 echo "Performing test '$test_name'" >> $logfile
+
+if [ "$GEDCOM_NOOPTS" ]
+then
+  echo "Following options would be passed: $options $test_args"
+  options=
+  test_args=
+fi
+
 $ltcmd $GEDCOM_TESTENV $builddir/src/$test_program $options $test_args
 result=$?
 rm gedcom.enc
diff --git a/t/test_ddd b/t/test_ddd
new file mode 100755 (executable)
index 0000000..ec0f852
--- /dev/null
@@ -0,0 +1,2 @@
+export GEDCOM_TESTENV='ddd'
+export GEDCOM_NOOPTS=1
diff --git a/t/untest_ddd b/t/untest_ddd
new file mode 100755 (executable)
index 0000000..cb36a6f
--- /dev/null
@@ -0,0 +1,2 @@
+unset GEDCOM_TESTENV
+unset GEDCOM_NOOPTS