|
From: | Vadim Zeitlin |
Subject: | [lmi] [PATCH] Add --gui_test_path command line option to the GUI test. |
Date: | Sun, 14 Dec 2014 18:55:09 +0100 |
Here are the patches adding the promised --gui_test_path option. The first one is just some minor cleanup, the second one is the important one, the third one updates the benchmark test (I decided to do it in a separate commit as it's not really related to the rest of changes) and the last one removes the config file handling which becomes unnecessary after the previous change. Just FYI here is how running the benchmark census test looks right now: % ./wx_test.exe --data_path=/opt/lmi/data --gui_test_path=/opt/lmi/test -t benchmark_census NOTE: starting the test suite benchmark_census: started Run case for MSEC_20040729_field_test.cns: 394ms elapsed Print case to PDF for MSEC_20040729_field_test.cns: 11339ms elapsed Print case to spreadsheet for MSEC_20040729_field_test.cns: 900ms elapsed Run case for MSEC_20040729_SL14s.cns: 388ms elapsed Print case to PDF for MSEC_20040729_SL14s.cns: 11264ms elapsed Print case to spreadsheet for MSEC_20040729_SL14s.cns: 900ms elapsed Run case for MSEC_EGL_20040729.cns: 392ms elapsed Print case to PDF for MSEC_EGL_20040729.cns: 11338ms elapsed Print case to spreadsheet for MSEC_EGL_20040729.cns: 902ms elapsed Run case for MSEC_SL10_20040729.cns: 387ms elapsed Print case to PDF for MSEC_SL10_20040729.cns: 12685ms elapsed Print case to spreadsheet for MSEC_SL10_20040729.cns: 886ms elapsed time=52621ms (for benchmark_census) benchmark_census: ok time=52621ms (for all tests) SUCCESS: 1 test successfully completed. Notice that there is no error -- nor even warning -- if no MSEC*.cns files are found. I decided that it would be visible enough anyhow in the output as the benchmark_census test execution time would be more or less 0 then, but please let me know if you think it's worth adding a warning in this case. Also, in addition to the (optional) MSEC*.cns files, the test directory must currently contain CoiMultiplier.cns (used by the input_validation test), PasteCensus.cns (used in the paste_census one), MonthlyTrace.ill (output_validation_illustration) and MecTesting.mec (output_validation_mec). At least PasteCensus.cns will become unnecessary soon, but this will be part of another patch. As always, please let me know if you have any questions about any of the changes here and thanks in advance for applying them! VZ
0001-Improve-failure-reporting-in-validate_output_xxx-tes.patch
Description: Text document
0002-Add-gui_test_path-command-line-option-to-the-GUI-tes.patch
Description: Text document
0003-Change-census-benchmark-test-to-just-output-the-time.patch
Description: Text document
0004-Remove-support-for-config-file-in-GUI-test-suite-as-.patch
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |