----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/3500/#review8411 -----------------------------------------------------------
Ship it! This looks like a nice feature to easily roll up the tester results. - Joe Gross On June 6, 2016, 11:50 a.m., Andreas Sandberg wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviews.gem5.org/r/3500/ > ----------------------------------------------------------- > > (Updated June 6, 2016, 11:50 a.m.) > > > Review request for Default. > > > Repository: gem5 > > > Description > ------- > > Changeset 11533:ca86fea05ac8 > --------------------------- > tests: Add a test command to get test status as an exit code > > Add a "test" command to tests.py that queries a test pickle file and > returns different exit codes depending on the outcome of the tests in > the file. The following exit codes can currently be returned: > > * 0: All tests were successful or skipped. > > * 1: General fault in the script such as incorrect parameters or > failing to parse a pickle file. > > * 2: At least one test failed to run. This is what the summary > formatter usually shows as a 'FAILED'. > > * 3: All tests ran correctly, but at least one failed to verify > its output. When displaying test output using the summary > formatter, such a test would show up as 'CHANGED'. > > The command can be invoked like this: > > ./tests/tests.py test `find build/ARM/tests/opt/ -name status.pickle` > > Change-Id: I7e6bc661516f38ff08dfda7c4359a1e10bf97864 > Signed-off-by: Andreas Sandberg <andreas.sandb...@arm.com> > Reviewed-by: Curtis Dunham <curtis.dun...@arm.com> > > > Diffs > ----- > > tests/tests.py 6e143fd2cabf > > Diff: http://reviews.gem5.org/r/3500/diff/ > > > Testing > ------- > > > Thanks, > > Andreas Sandberg > > _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev