Update of /cvsroot/winbash/winbash/tests
In directory usw-pr-cvs1:/tmp/cvs-serv22210
Modified Files:
Makefile run-all
Log Message:
Added run_test target. Corrected references to bash to use the $BASH env var.
Index: Makefile
===================================================================
RCS file: /cvsroot/winbash/winbash/tests/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile 16 Mar 2002 02:00:25 -0000 1.1
+++ Makefile 18 Mar 2002 18:57:36 -0000 1.2
@@ -28,6 +28,8 @@
.SUFFIXES: .c .obj
# How to make a .obj file from a .def file.
+run_tests: recho.exe
+ TMP=$(TMP) `pwd`/../bash.exe run-all
recho.exe: ../support/recho.c
$(CC) $(CPPFLAGS) $(CPPDEFS) $(CFLAGS) -o $@ $<
Index: run-all
===================================================================
RCS file: /cvsroot/winbash/winbash/tests/run-all,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- run-all 11 Mar 2002 01:47:05 -0000 1.3
+++ run-all 18 Mar 2002 18:57:36 -0000 1.4
@@ -10,7 +10,7 @@
case $x in
$0) ;;
*.orig|*~) ;;
- *) echo $x ; sh $x ;;
+ *) echo $x ; $BASH $x ;;
esac
done
|