mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-25 00:07:09 -07:00
The mmqa runset command now takes multiple test-sets.
Copied from Perforce Change: 192418 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
2b3d00c1ee
commit
d44d50dfd0
5 changed files with 15 additions and 13 deletions
|
|
@ -346,10 +346,8 @@ testratio: phony
|
|||
MMQA=perl test/qa -p $(PFM) -v $(VARIETY)
|
||||
|
||||
$(PFM)/$(VARIETY)/testmmqa:
|
||||
(if [ "$(VARIETY)" = "cool" ]; then cd ../test && $(MMQA) runset testsets/coolonly; fi)
|
||||
(cd ../test && $(MMQA) runset testsets/argerr)
|
||||
(cd ../test && $(MMQA) runset testsets/conerr)
|
||||
(cd ../test && $(MMQA) runset testsets/passing)
|
||||
([ "$(VARIETY)" = "cool" ] && cd ../test && $(MMQA) runset testsets/coolonly)
|
||||
(cd ../test && $(MMQA) runset testsets/{argerr,conerr,passing})
|
||||
|
||||
|
||||
# == Toy Scheme interpreter ==
|
||||
|
|
|
|||
|
|
@ -111,6 +111,8 @@ All relative paths are relative to
|
|||
nmake /f w3i6mv.nmk clean testci
|
||||
nmake /f ananmv.nmk clean testansi
|
||||
nmake /f ananmv.nmk CFLAGS="-DCONFIG_POLL_NONE" clean testpollnone
|
||||
cd ../test
|
||||
perl test/qa runset testsets/{coolonly,argerr,conerr,passing}
|
||||
|
||||
#. Check that there are no performance regressions by comparing the
|
||||
benchmarks (``djbench`` and ``gcbench``) for the last release and
|
||||
|
|
|
|||
|
|
@ -12,7 +12,9 @@
|
|||
"LOG_DIR"
|
||||
);
|
||||
|
||||
$testset = $ARGV[0];
|
||||
|
||||
&run_testset($testset, "$LOG_DIR/summ.log", "$LOG_DIR/res.log", "$LOG_DIR/full.log");
|
||||
@LOGS = ("$LOG_DIR/summ.log", "$LOG_DIR/res.log", "$LOG_DIR/full.log");
|
||||
unlink(@LOGS);
|
||||
foreach $testset (@ARGV) {
|
||||
&run_testset($testset, @LOGS);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
run tests from a test-set
|
||||
run tests from test-sets
|
||||
% $Id$
|
||||
|
||||
Usage: qa runset [<options>] <testsetfile>
|
||||
Usage: qa runset [<options>] <testsetfile> [<testsetfile> ...]
|
||||
|
||||
'runset' compiles the test libraries and then runs all the
|
||||
tests in a test-set.
|
||||
tests in the test-sets.
|
||||
|
||||
A test-set is a file containing a list of tests, one test
|
||||
per line. Blank lines or those beginning with % are ignored.
|
||||
|
|
|
|||
|
|
@ -236,9 +236,9 @@ sub run_testset {
|
|||
|
||||
%testsetresults = ();
|
||||
|
||||
open(LOG_SUMMARY, ">".$logsummfile);
|
||||
open(LOG_RESULTS, ">".$logresfile);
|
||||
open(LOG_FULL, ">".$logfullfile);
|
||||
open(LOG_SUMMARY, ">>".$logsummfile);
|
||||
open(LOG_RESULTS, ">>".$logresfile);
|
||||
open(LOG_FULL, ">>".$logfullfile);
|
||||
&describe_settings(LOG_SUMMARY);
|
||||
@LOG_FILES = (STDOUT, LOG_SUMMARY, LOG_RESULTS, LOG_FULL);
|
||||
&logcomment("Test set $testsetfile");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue