From: <raj...@us...> - 2007-03-10 15:46:24
|
Revision: 8077 http://svn.sourceforge.net/cdk/?rev=8077&view=rev Author: rajarshi Date: 2007-03-10 07:46:21 -0800 (Sat, 10 Mar 2007) Log Message: ----------- Fixed the emma runs Modified Paths: -------------- trunk/cdk/tools/nightly.py Modified: trunk/cdk/tools/nightly.py =================================================================== --- trunk/cdk/tools/nightly.py 2007-03-10 15:02:07 UTC (rev 8076) +++ trunk/cdk/tools/nightly.py 2007-03-10 15:46:21 UTC (rev 8077) @@ -776,14 +776,14 @@ print ' Strange! No test suite classes found.' os.chdir(olddir) return None - + # lets do all the emma runs if not os.path.exists('emma'): os.mkdir('emma') for testsuite in f: if testsuite.find('smiles') != -1: continue print ' Analyzing %s' % (testsuite) - cmd = """java -cp %s emmarun -cp develjar/junit.jar:dist/jar/cdk-svn-%s.jar:dist/jar/cdk-test-svn-%s.jar -ix +org.openscience.cdk.* -r html -sp src junit.textui.TestRunner org.openscience.cdk.test.%s &> tmp.log && cat tmp.log >> ../emma.log""" % (classpath, todayStr, todayStr, testsuite) + cmd = """java -cp %s emmarun -cp develjar/junit.jar:dist/jar/cdk-test.jar:dist/jar/cdk-svn-%s.jar:dist/jar/cdk-test-svn-%s.jar -ix +org.openscience.cdk.* -r html -sp src junit.textui.TestRunner org.openscience.cdk.test.%s &> tmp.log && cat tmp.log >> ../emma.log""" % (classpath, todayStr, todayStr, testsuite) os.system(cmd) if os.path.exists('coverage'): shutil.copytree('coverage', (os.path.join('emma', testsuite))) @@ -968,7 +968,7 @@ if successDist: # if we compiled, do the rest of the stuff successTestDist = runAntJob('nice -19 ant dist-test-large', 'testdist.log', 'testdist') successSrc = runAntJob('nice -19 ant sourcedist', 'srcdist.log', 'srcdist') - successTest = runAntJob('nice -n 19 ant -DrunSlowTests=false test-all', 'test.log', 'test') + successTest = runAntJob('ant -DrunSlowTests=false test-all', 'test.log', 'test') successJavadoc = runAntJob('nice -n 19 ant -f javadoc.xml', 'javadoc.log', 'javadoc') successKeyword = runAntJob('nice -n 19 ant -f doc/javadoc/build.xml keyword.index', 'keyword.log', 'keywords') successDoccheck = runAntJob('nice -n 19 ant -f javadoc.xml doccheck', 'doccheck.log', 'doccheck') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |