diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-08-02 10:49:44 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-08-02 10:50:08 +0900 |
commit | 338505f1a4c9165caa799bb96e19600b1c76f92f (patch) | |
tree | 064737b35dbe10f2995753ead92f95bac30ba048 /test/runtests.in | |
parent | e18d79d3062a776f5898ab3f83fd4ec0d1abb105 (diff) | |
download | ragel-338505f1a4c9165caa799bb96e19600b1c76f92f.tar.gz ragel-338505f1a4c9165caa799bb96e19600b1c76f92f.tar.bz2 ragel-338505f1a4c9165caa799bb96e19600b1c76f92f.zip |
Imported Upstream version 6.9
Change-Id: Idde5cab7eb2a2b8625d0efc7467baf11ceccfa1e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'test/runtests.in')
-rwxr-xr-x | test/runtests.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/runtests.in b/test/runtests.in index 8eb91ed..2d6cae7 100755 --- a/test/runtests.in +++ b/test/runtests.in @@ -18,8 +18,7 @@ # # You should have received a copy of the GNU General Public License # along with Ragel; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -TEST_LOG="/tmp/ragel_test" +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA while getopts "gcnmleT:F:G:P:CDJRAZ" opt; do case $opt in @@ -126,10 +125,9 @@ function run_test() $exec_cmd 2>&1 > $output; if diff --strip-trailing-cr $expected_out $output > /dev/null; then echo "passed"; - echo "TEST: PASS: $root" >> $TEST_LOG; else - echo "FAILED"; - echo "TEST: FAIL: $root" >> $TEST_LOG; + echo "FAILED"; + test_error; fi; fi } |