[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
../run_parser_all.sh doesn't work
From: |
Gavin Smith |
Subject: |
../run_parser_all.sh doesn't work |
Date: |
Mon, 28 Sep 2015 10:49:31 +0100 |
I tried running some of the tests under tp/tests like this:
$cd formatting/
$../run_parser_all.sh
D: ./diffs/texi_ignore_and_comments.diff
D: ./diffs/ignore_and_comments_output.diff
D: ./diffs/test_redefine_need.diff
These lines show test failures.
This way works:
$./parser_tests.sh formatting
formatting: ok
Here's a sample diff showing the failure:
$cat diffs/texi_ignore_and_comments.diff
diff -a -u -r ./diffs/staging_res/texi_ignore_and_comments/ignore_and_comments.2
./out_parser/texi_ignore_and_comments/ignore_and_comments.2
--- ./diffs/staging_res/texi_ignore_and_comments/ignore_and_comments.2
2014-12-19 20:07:28.000000000 +0000
+++ ./out_parser/texi_ignore_and_comments/ignore_and_comments.2
2015-09-28 10:46:31.000000000 +0100
@@ -0,0 +1 @@
+texi2any: warning: could not read init file ignore_and_comments_output.init
I'm happy to use the method that works, so I don't think there's much
need for the other method to work. The only thing that's missing is
how to run a single test. tp/tests/README gives instructions for how
to run a single test:
* By going into a directory and running ../run_parser_all.sh, like
$ cd formatting
$ ../run_parser_all.sh
* By going into a directory and running one specific test, like
$ cd formatting
$ ../run_parser_all.sh cond
(see below for info on how test names are specified).
However, the test scripts in tp/tests/test_scripts still manage to run
single tests, so I expect it is still possible.
- ../run_parser_all.sh doesn't work,
Gavin Smith <=