[Nice-commit] Nice Makefile,1.140,1.141
Brought to you by:
bonniot
From: <bo...@us...> - 2004-03-02 21:56:32
|
Update of /cvsroot/nice/Nice In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8812 Modified Files: Makefile Log Message: Make the testsuite enable assertions, so that they don't have to bet set externally when starting the JVM that will run the testsuite. Index: Makefile =================================================================== RCS file: /cvsroot/nice/Nice/Makefile,v retrieving revision 1.140 retrieving revision 1.141 diff -C2 -d -r1.140 -r1.141 *** Makefile 21 Feb 2004 14:53:14 -0000 1.140 --- Makefile 2 Mar 2004 21:44:28 -0000 1.141 *************** *** 105,120 **** check: ! if [ `${java} -h 2>&1 | grep -- -enableassertions | wc -l` = 0 ]; then\ ! /usr/bin/time ${java} -Dassertions=true -classpath "classes" nice.tools.testsuite.TestNice testsuite; \ ! else \ ! /usr/bin/time ${java} -enableassertions -classpath "classes" nice.tools.testsuite.TestNice testsuite; \ ! fi check_lib: ! if [ `${java} -h 2>&1 | grep -- -enableassertions | wc -l` = 0 ]; then\ ! /usr/bin/time ${java} -Dassertions=true -classpath "classes" nice.tools.testsuite.TestNice testsuite/lib; \ ! else \ ! /usr/bin/time ${java} -enableassertions -classpath "classes" nice.tools.testsuite.TestNice testsuite/lib; \ ! fi .PHONY: coverage --- 105,112 ---- check: ! /usr/bin/time ${java} -classpath "classes" nice.tools.testsuite.TestNice testsuite check_lib: ! /usr/bin/time ${java} -Dassertions=true -classpath "classes" nice.tools.testsuite.TestNice testsuite/lib .PHONY: coverage |