- Revision
- 11372
- Author
- bear
- Date
- 2006-08-09 23:25:28 -0700 (Wed, 09 Aug 2006)
Log Message
Changing quick builds to use do_tests.sh to run unit tests
part of bug 5578
part of bug 5578
Modified Paths
Diff
Modified: trunk/hardhat/buildscripts/newchandler.py (11371 => 11372)
--- trunk/hardhat/buildscripts/newchandler.py 2006-08-10 05:45:31 UTC (rev 11371) +++ trunk/hardhat/buildscripts/newchandler.py 2006-08-10 06:25:28 UTC (rev 11372) @@ -195,24 +195,18 @@ def doTests(hardhatScript, mode, workingDir, outputDir, buildVersion, log): - testDir = os.path.join(workingDir, "chandler") os.chdir(testDir) - if mode == "debug": - dashT = '-dvt' - else: - dashT = '-vrt' - - try: # test + try: print "Testing " + mode log.write(separator) log.write("Testing " + mode + " ...\n") - print "hardhatScript [%s]" % hardhatScript + cmd = ['./tools/do_tests.sh', '-u', '-m %s' % mode] - outputList = hardhatutil.executeCommandReturnOutput( - [hardhatScript, dashT]) + outputList = hardhatutil.executeCommandReturnOutput(cmd) + hardhatutil.dumpOutputList(outputList, log) except Exception, e:
_______________________________________________ Commits mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/commits
