From: <mk...@us...> - 2003-11-01 16:08:43
|
Update of /cvsroot/csp/APPLICATIONS/SimData/SimData/Tests In directory sc8-pr-cvs1:/tmp/cvs-serv2659/SimData/Tests Modified Files: Makefile TODO test_Object.cpp Log Message: Index: Makefile =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/SimData/SimData/Tests/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 25 Oct 2003 00:24:03 -0000 1.2 --- Makefile 1 Nov 2003 16:08:40 -0000 1.3 *************** *** 47,51 **** @echo -n "Building $@..." @for foo in a; do \ ! $(CXX) -o $@ $(CFLAGS) $(@:=.cpp) -L$(TOPDIR)/SimData -lSimData 2>.testlog 1>/dev/null; \ if [ $$? = "0" ]; then echo "ok"; else echo "failed!"; exit 1; fi; \ done --- 47,51 ---- @echo -n "Building $@..." @for foo in a; do \ ! $(CXX) -o $@ $(CFLAGS) $(@:=.cpp) -L$(TOPDIR)/SimData -lSimData 2>.buildlog 1>/dev/null; \ if [ $$? = "0" ]; then echo "ok"; else echo "failed!"; exit 1; fi; \ done *************** *** 55,60 **** @for test in $(TESTS); do \ echo -n "Running $$test..."; \ ! ./$$test 2>.testlog 1>/dev/null; \ ! if [ $$? = "0" ]; then echo "ok"; else echo "failed!"; fi; \ done --- 55,60 ---- @for test in $(TESTS); do \ echo -n "Running $$test..."; \ ! ./$$test 2>$$test.log 1>/dev/null; \ ! if [ $$? = "0" ]; then echo "ok"; rm $$test.log; else echo "failed!"; fi; \ done Index: TODO =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/SimData/SimData/Tests/TODO,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TODO 19 Oct 2003 23:53:56 -0000 1.2 --- TODO 1 Nov 2003 16:08:40 -0000 1.3 *************** *** 4,9 **** * Archive test with objects and links * Logging facility ! * Conversions ! * Object declarations and macros (C++) * Object interfaces and interface registry --- 4,10 ---- * Archive test with objects and links * Logging facility ! * Conversions [DONE] ! * Object declarations and macros (C++) [PARTIALLY DONE] * Object interfaces and interface registry + * Data compiler and xml parsing Index: test_Object.cpp =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/SimData/SimData/Tests/test_Object.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** test_Object.cpp 25 Oct 2003 00:24:03 -0000 1.2 --- test_Object.cpp 1 Nov 2003 16:08:40 -0000 1.3 *************** *** 32,35 **** --- 32,36 ---- #include <cstdlib> + #include <cassert> |