This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/php | |
<?php | |
/** | |
* Pre-commit Subversion script that runs unit tests. | |
* @author Omni Adams <omni@digitaldarkness.com> | |
* @copyright 2010 Digital Darkness | |
*/ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @fileoverview Test runner for running unit tests from the command line. | |
* | |
* Copyright 2012 Digital Darkness | |
*/ | |
goog.require('goog.testing.jsunit'); | |
/** | |
* Success or failure indications. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="test-js"> | |
<echo message="Running javascript unit tests" /> | |
<concat destfile="tests-concat.js"> | |
<fileset dir="tests" includes="*Test.js" /> | |
</concat> | |
<exec executable="${library}/bin/calcdeps.py"> | |
<arg value="--compiler_flag=--compilation_level=WHITESPACE_ONLY" /> | |
<arg value="--compiler_jar=${compiler}" /> | |
<arg value="--input=scripts/foo.js" /> | |
<arg value="--input=tests-concat.js" /> |
NewerOlder