summaryrefslogtreecommitdiff
path: root/run_tests.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * run_tests.py: Ignore .pdb files while validating installNirbheek Chauhan2016-09-111-1/+1
| | | | | | | | | | Their presence depends on build options and compiler, and we don't currently have the test infrastructure to deal with this.
* | Use context manager in test cases.Elliott Sales de Andrade2016-08-301-4/+8
| |
* | Implement D supportMatthias Klumpp2016-08-191-0/+12
|/ | | | | | | | | | | This patch adds support for the D programming language[1] to Meson. The following compilers are supported: * LDC * GDC * DMD [1]: http://dlang.org/
* Added test for a prebuilt static library and a declare_dependency that uses it.Jussi Pakkanen2016-07-251-20/+45
|
* Normalize the path of a configured file to avoid dupes (#640)Nirbheek Chauhan2016-07-191-1/+2
|
* run_tests.py: Make 'no-installed-files' stricterNirbheek Chauhan2016-07-131-4/+6
| | | | | When the file 'no-installed-files' is installed, require that the test not install any other files. A test for this is pending.
* Fix tests for the new library/executable naming schemeNirbheek Chauhan2016-07-011-30/+36
| | | | | | | | | | | | | | | | | | | | | | | Also add new tests for the platform-specific and compiler-specific versioning scheme. A rough summary is: 1. A bug in how run_tests.py:validate_install checked for files has been fixed. Earlier it wasn't checking the install directory properly. 2. Shared libraries are no longer installed in common tests, and the library name/path testing is now done in platform-specific tests. 3. Executables are now always called something?exe in the installed_files.txt file, and the suffix automatically corrected depending on the platform. 4. If a test installs a file called 'no-installed-files', the installed files for that test are not validated. This is required to implement compiler-specific tests for library names/paths such as MSVC vs MinGW 5. The platform-specific file renaming in run_tests.py has been mostly removed since it is broken for shared libraries and isn't needed for static libraries. 6. run_tests.py now reports all missing and extra files. The logic for finding these has been reworked.
* Fix typo argument order to TestRunner (#615)Nirbheek Chauhan2016-06-241-1/+1
|
* Print full mesonlog on failed tests when run under CI.Jussi Pakkanen2016-06-231-13/+22
|
* Finish appveyor integration by moving static library in a subdir to avoid ↵Jussi Pakkanen2016-06-131-1/+1
| | | | clashes.
* Print full log when failures happen under Appveyor.Jussi Pakkanen2016-06-131-1/+1
|
* Merge pull request #577 from nioncode/vs2015Jussi Pakkanen2016-06-051-1/+6
|\ | | | | Implement vs2015 backend
| * add vs2015 backendNicolas Schneider2016-05-301-1/+6
| |
* | Print all of the things when CI fails.Jussi Pakkanen2016-05-301-0/+3
|/
* cancel all pending test cases when interrupted by signalsNicolas Schneider2016-05-251-2/+6
|
* simplify unit test output (#506)Nicolas Schneider2016-04-071-10/+11
| | | | | | | Print status on single line only print a single line for succeeded tests and two lines for failed tests. This makes it easier to scan the output for failed tests.
* add exponential backoff for deleting temp directoriesNicolas Schneider2016-04-061-0/+1
|
* fix off by one, since range() does not include the end of the rangeNicolas Schneider2016-04-061-1/+1
|
* fix randomly failing test execution on WindowsNicolas Schneider2016-04-061-2/+21
| | | | | | | | shutil.rmtree, which is used by tempfile.TemporaryDirectory, randomly fails on Windows, because the directory is not empty although it should be, because all files were deleted by shutil.rmtree internals before trying to remove the directory. A simple retry approach fixes the issue.
* do not print anything during testsNicolas Schneider2016-04-051-2/+2
| | | | | Otherwise, output from parallel tests might interleave. Let the main loop handle printing of additional info.
* properly fix Windows parallel tests by not using global variablesNicolas Schneider2016-04-051-6/+5
| | | | | | | The _run_test method uses several global variables (unity_flags, backend_flags, compile_commands, install_commands) which are not set when the method is run by the executor (at least on Windows). To resolve this, pass the variables as method parameters.
* Revert "Fix Windows. Again."Nicolas Schneider2016-04-051-12/+2
| | | | This reverts commit e522a9f2684e38955aefda3b4413a78997ccdbc9.
* Fix Windows. Again.Jussi Pakkanen2016-04-011-2/+12
|
* Output is all pretty again.Jussi Pakkanen2016-04-011-6/+7
|
* Run tests in parallel.Jussi Pakkanen2016-04-011-3/+12
|
* Fix Windows.Jussi Pakkanen2016-04-011-2/+4
|
* Use individual tempdirs for building and installing in unit tests.Jussi Pakkanen2016-04-011-15/+6
|
* Check option files too.Jussi Pakkanen2016-03-201-1/+1
|
* enhance test framework to read meson arguments from a file per testNicolas Schneider2016-03-121-1/+17
| | | | | | | A 'test_args.txt' file in the same directory as the test case will be parsed by the test framework and the content will be passed as arguments to meson during configuration. The arguments are put before any 'extra_args' to make them overwritable from the command line.
* Back to .py suffix in files. Closes #394.Jussi Pakkanen2016-03-021-0/+4
|
* Merge Python 3 module support.Jussi Pakkanen2016-02-261-0/+1
|\
| * Added plain Python sample project.Jussi Pakkanen2016-02-211-0/+1
| |
* | use sys.stdout.encoding when parsing subprocess outputNicolas Schneider2016-02-221-4/+4
|/
* Renamed meson package to mesonbuild so that we can have a script named meson ↵Jussi Pakkanen2016-01-161-7/+7
| | | | in the same toplevel dir.
* Finalize moduleification so that full test suite runs.Jussi Pakkanen2016-01-161-4/+4
|
* Can run most of test suite (with hacks).Jussi Pakkanen2016-01-151-3/+4
|
* Organise files into a module structure.Jussi Pakkanen2016-01-151-5/+5
|
* Make vs dependency detector work on non-english locales.Jussi Pakkanen2015-12-181-8/+12
|
* Can build simple Swift executables.Jussi Pakkanen2015-12-071-0/+1
|
* Can define benchmarks and run them.Jussi Pakkanen2015-11-251-4/+5
|
* Added conf option for build tree layout.Jussi Pakkanen2015-09-171-5/+7
|
* More robust windows detection and more logs.Jussi Pakkanen2015-08-251-4/+4
|
* Merge pull request #162 from mesonbuild/lint_errorsjpakkane2015-06-191-1/+1
|\ | | | | Fix some bugs when linting code
| * run_tests: Bad first argument 'Exception' given to super()Igor Gnatenko2015-06-191-1/+1
| | | | | | | | Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* | run_tests: fix bad-continuationIgor Gnatenko2015-06-191-2/+2
|/ | | | Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* Do not invoke linker via cmd /c on Windows.Jussi Pakkanen2015-05-171-0/+2
|
* Run unit tests in-process too for extra speed.Jussi Pakkanen2015-04-231-9/+24
|
* Run Meson test invocations in-process because spawning a new Python process ↵Jussi Pakkanen2015-04-231-7/+17
| | | | for each is too slow.
* Print test time breakdown.Jussi Pakkanen2015-04-231-6/+15
|
* Store time taken to configure, build and test individual cases.Jussi Pakkanen2015-04-231-14/+29
|