Commit Graph

259 Commits

Author SHA1 Message Date
Nirbheek Chauhan 1570a90822 project tests: Also regen before building
This actually caught a cached-dependency related bug for me that the
test-time regen did not. I also increased the ninja wait time to
1 second because that's actually how long you need to sleep to be
guaranteed that a change will be detected.

Must poke upstream about https://github.com/ninja-build/ninja/issues/371
2017-05-09 14:23:15 +05:30
Nirbheek Chauhan 5791cb7c4b unit tests: exe_suffix is '.exe' on Cygwin 2017-04-09 23:38:58 +05:30
Nirbheek Chauhan 4f0d42967e tests: Move appveyor platform workaround to run_tests.py
This is also needed for the unit tests
2017-04-09 23:11:36 +05:30
Nirbheek Chauhan f80d471345 unit tests: Fix running specific targets with MSBuild
/t:targetname syntax doesn't work, but running the vcxproj does work

Also use the Backend enum everywhere.
2017-04-09 23:11:36 +05:30
Nirbheek Chauhan a331bf1162 unit tests: Run on all backends, not just Ninja 2017-04-09 23:11:05 +05:30
Nirbheek Chauhan 7e4a67c790 run_project_tests: Clean on backends that can't install
Also sets more groundwork for running unit tests with backends other
that Ninja.

Transferring global state to executors is totally broken in Python 3.4
so just serialize all the commands.
2017-04-09 23:11:05 +05:30
Nirbheek Chauhan d755228afe tests: Factor out common code to run_tests
And use generic build/clean/test/install commands in the unit tests,
just like project tests. This sets the groundwork for running the unit
tests with all backends.
2017-04-09 23:08:42 +05:30
Nirbheek Chauhan 4646958917 run_tests: Improve the backend detection 2017-04-09 23:07:49 +05:30
Nirbheek Chauhan 8df671b6f3 run_tests: Don't run unit tests when the VS backend is selected 2017-03-30 00:49:29 +05:30
Jussi Pakkanen 98af711ca6 Merge pull request #1403 from centricular/compile_resources
Make configure_file() great again
2017-02-20 14:27:06 -05:00
Nirbheek Chauhan 2a64a2d00c run_tests.py: Nice down when running on a dev machine
To avoid destroying productivity.
2017-02-20 23:32:04 +05:30
Nirbheek Chauhan 18bce47691 find_program: Correctly use scripts found in PATH
We also need to check whether the program found in PATH can be executed
directly by Windows or if we need to figure out what the interpreter is
and add it to the list.

Also add `msc` to the list of extensions that can be executed natively

Includes a project test and a unit test for this and all expected
behaviours on Windows.
2017-02-18 02:38:54 +05:30
Nirbheek Chauhan 82057ccd55 Add unit tests related to absolute prefixes
Also split the unit tests into those that are actually Linux-specific
and those that are not and can (and should) run on all platforms. This
will give us much better coverage since a lot of these test
platform-specific code in Meson that wraps features that we expose in
a platform-agnostic way.

Tests are for:
https://github.com/mesonbuild/meson/issues/1341
https://github.com/mesonbuild/meson/issues/1345
https://github.com/mesonbuild/meson/issues/1349
2017-02-18 02:37:32 +05:30
Nirbheek Chauhan bbbc4e336b Run some unit tests on all platforms
InternalTests can be run on all platforms since they have nothing
Linux-specific.
2017-01-30 03:19:41 +05:30
Jussi Pakkanen 92f8e0ab31 Do not run arm cross compilation tests on arm. 2016-12-31 14:04:58 +02:00
Jussi Pakkanen 7aa314368f Some merge conflicts are logical. Such as this one was. 2016-12-21 00:28:57 +02:00
Jussi Pakkanen a2528a8816 Merge pull request #1233 from mesonbuild/wip/ignatenko/code-style
Trivial cleanups in code
2016-12-21 00:09:44 +02:00
Jussi Pakkanen 2b65083463 Fix cross test and run them if a cross compiler is available. 2016-12-20 20:33:59 +02:00
Igor Gnatenko 8268eb4959 tree-wide: remove unused imports
./setup.py:17:1: F401 'os' imported but unused
import os
^
./setup.py:37:1: F401 'stat.ST_MODE' imported but unused
from stat import ST_MODE
^
./run_tests.py:17:1: F401 'os' imported but unused
import subprocess, sys, os
^
./run_tests.py:18:1: F401 'shutil' imported but unused
import shutil
^
./run_unittests.py:23:1: F401 'mesonbuild.dependencies.Qt5Dependency' imported but unused
from mesonbuild.dependencies import PkgConfigDependency, Qt5Dependency
^
./mesonbuild/build.py:15:1: F401 '.coredata' imported but unused
from . import coredata
^
./mesonbuild/interpreter.py:32:1: F401 'subprocess' imported but unused
import os, sys, subprocess, shutil, uuid, re
^
./mesonbuild/interpreter.py:32:1: F401 're' imported but unused
import os, sys, subprocess, shutil, uuid, re
^
./mesonbuild/dependencies.py:23:1: F401 'subprocess' imported but unused
import os, stat, glob, subprocess, shutil
^
./mesonbuild/mesonlib.py:17:1: F401 'sys' imported but unused
import platform, subprocess, operator, os, shutil, re, sys
^
./mesonbuild/modules/qt5.py:15:1: F401 'subprocess' imported but unused
import os, subprocess
^
./mesonbuild/modules/pkgconfig.py:15:1: F401 '..coredata' imported but unused
from .. import coredata, build
^
./mesonbuild/scripts/scanbuild.py:15:1: F401 'sys' imported but unused
import sys, os
^
./mesonbuild/scripts/meson_exe.py:20:1: F401 'subprocess' imported but unused
import subprocess
^
./mesonbuild/scripts/meson_exe.py:22:1: F401 '..mesonlib.MesonException' imported but unused
from ..mesonlib import MesonException, Popen_safe
^
./mesonbuild/scripts/symbolextractor.py:23:1: F401 'subprocess' imported but unused
import os, sys, subprocess
^
./mesonbuild/scripts/symbolextractor.py:25:1: F401 '..mesonlib.MesonException' imported but unused
from ..mesonlib import MesonException, Popen_safe
^
./mesonbuild/scripts/meson_install.py:19:1: F401 '..mesonlib.MesonException' imported but unused
from ..mesonlib import MesonException, Popen_safe
^
./mesonbuild/scripts/yelphelper.py:15:1: F401 'sys' imported but unused
import sys, os
^
./mesonbuild/scripts/yelphelper.py:20:1: F401 '..mesonlib.MesonException' imported but unused
from ..mesonlib import MesonException
^
./mesonbuild/backend/vs2010backend.py:17:1: F401 're' imported but unused
import re
^
./test cases/vala/8 generated sources/src/copy_file.py:3:1: F401 'os' imported but unused
import os
^
./test cases/common/107 postconf/postconf.py:3:1: F401 'sys' imported but unused
import sys, os
^
./test cases/common/129 object only target/obj_generator.py:5:1: F401 'shutil' imported but unused
import sys, shutil, subprocess
^
./test cases/common/57 custom target chain/usetarget/subcomp.py:3:1: F401 'os' imported but unused
import sys, os
^
./test cases/common/95 dep fallback/subprojects/boblib/genbob.py:3:1: F401 'os' imported but unused
import os
^
./test cases/common/98 gen extra/srcgen.py:4:1: F401 'os' imported but unused
import os
^
./test cases/common/113 generatorcustom/gen.py:3:1: F401 'os' imported but unused
import sys, os
^
./test cases/common/113 generatorcustom/catter.py:3:1: F401 'os' imported but unused
import sys, os
^
./test cases/common/59 object generator/obj_generator.py:5:1: F401 'shutil' imported but unused
import sys, shutil, subprocess
^

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2016-12-19 18:19:35 +01:00
Jussi Pakkanen afe00697fa Run unittests only with default compiler. 2016-11-01 15:26:23 -07:00
Jussi Pakkanen 8faf0414ce Some fixes to unittest running. 2016-10-12 21:11:56 +03:00
Jussi Pakkanen f90bfa5245 Review fixes. 2016-10-09 14:41:47 -04:00
Jussi Pakkanen 3a002709f4 Pass cmd line args onwards. 2016-10-08 08:06:59 -04:00
Jussi Pakkanen b11a5b93cb Store all invocation output. Not shown to users yet. 2016-10-08 07:54:37 -04:00
Jussi Pakkanen c7936f6819 Run unittests. 2016-10-08 07:44:19 -04:00
Nirbheek Chauhan 81423270f5 run_tests: Print stdo and stde in failing test logs
This is a superset of the mlog output, and also contains the ninja
output and the test output.
2016-10-07 11:53:24 +05:30
Jussi Pakkanen c334eeda76 Merge pull request #684 from mesonbuild/pdb
Create pdb files with MSVC
2016-09-11 13:04:55 +03:00
Nirbheek Chauhan 91c5f07a8e run_tests.py: Ignore .pdb files while validating install
Their presence depends on build options and compiler, and we don't
currently have the test infrastructure to deal with this.
2016-09-11 10:10:48 +05:30
Elliott Sales de Andrade aec1e88c21 Use context manager in test cases. 2016-08-30 04:17:46 -04:00
Matthias Klumpp 56823272ab Implement D support
This patch adds support for the D programming language[1] to Meson.

The following compilers are supported:
* LDC
* GDC
* DMD

[1]: http://dlang.org/
2016-08-19 03:02:51 +02:00
Jussi Pakkanen f3c793b9c1 Added test for a prebuilt static library and a declare_dependency that uses it. 2016-07-25 22:00:38 +03:00
Nirbheek Chauhan 88aafd363e Normalize the path of a configured file to avoid dupes (#640) 2016-07-19 20:10:57 +03:00
Nirbheek Chauhan cc4826b85f run_tests.py: Make 'no-installed-files' stricter
When the file 'no-installed-files' is installed, require that the test
not install any other files. A test for this is pending.
2016-07-13 01:17:46 +05:30
Nirbheek Chauhan 45c8557dc6 Fix tests for the new library/executable naming scheme
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.
2016-07-01 20:50:47 +05:30
Nirbheek Chauhan d61656d43c Fix typo argument order to TestRunner (#615) 2016-06-24 13:44:07 +03:00
Jussi Pakkanen 436eab9b85 Print full mesonlog on failed tests when run under CI. 2016-06-23 00:03:59 +03:00
Jussi Pakkanen 15ab984d8e Finish appveyor integration by moving static library in a subdir to avoid clashes. 2016-06-13 22:50:47 +03:00
Jussi Pakkanen 1e9e91f25a Print full log when failures happen under Appveyor. 2016-06-13 22:27:12 +03:00
Jussi Pakkanen 0bc0056064 Merge pull request #577 from nioncode/vs2015
Implement vs2015 backend
2016-06-05 13:00:57 +03:00
Nicolas Schneider 3bedca0257 add vs2015 backend 2016-05-30 21:49:35 +02:00
Jussi Pakkanen 37c5d45d07 Print all of the things when CI fails. 2016-05-30 22:29:27 +03:00
Nicolas Schneider 4a102fd445 cancel all pending test cases when interrupted by signals 2016-05-25 23:38:15 +02:00
Nicolas Schneider 1d2b4ed8e9 simplify unit test output (#506)
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.
2016-04-07 20:26:53 +03:00
Nicolas Schneider 435700aeb0 add exponential backoff for deleting temp directories 2016-04-06 21:39:51 +02:00
Nicolas Schneider 5decddf09f fix off by one, since range() does not include the end of the range 2016-04-06 21:35:51 +02:00
Nicolas Schneider 32e0973ef1 fix randomly failing test execution on Windows
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.
2016-04-06 12:38:39 +02:00
Nicolas Schneider 42e6b78351 do not print anything during tests
Otherwise, output from parallel tests might interleave. Let the main loop
handle printing of additional info.
2016-04-05 23:05:09 +02:00
Nicolas Schneider ff9d879eea properly fix Windows parallel tests by not using global variables
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.
2016-04-05 23:02:15 +02:00
Nicolas Schneider eb69b268d4 Revert "Fix Windows. Again."
This reverts commit e522a9f268.
2016-04-05 22:03:57 +02:00
Jussi Pakkanen e522a9f268 Fix Windows. Again. 2016-04-01 23:27:50 +03:00
Jussi Pakkanen a7e9301215 Output is all pretty again. 2016-04-01 23:06:58 +03:00
Jussi Pakkanen 81e37e1220 Run tests in parallel. 2016-04-01 23:06:19 +03:00
Jussi Pakkanen 9587715585 Fix Windows. 2016-04-01 22:51:36 +03:00
Jussi Pakkanen ea092fefc2 Use individual tempdirs for building and installing in unit tests. 2016-04-01 20:20:48 +03:00
Jussi Pakkanen 5b3c9e262b Check option files too. 2016-03-20 22:52:46 +02:00
Nicolas Schneider 5482a23936 enhance test framework to read meson arguments from a file per test
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.
2016-03-12 17:41:42 +01:00
Jussi Pakkanen 455e55f8e5 Back to .py suffix in files. Closes #394. 2016-03-02 21:49:29 +02:00
Jussi Pakkanen ea60a22cd5 Merge Python 3 module support. 2016-02-26 21:21:53 +02:00
Nicolas Schneider 681a14a695 use sys.stdout.encoding when parsing subprocess output 2016-02-22 22:58:17 +01:00
Jussi Pakkanen a8120eb519 Added plain Python sample project. 2016-02-21 14:52:36 +02:00
Jussi Pakkanen 23b98cd6e6 Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir. 2016-01-16 17:35:29 +02:00
Jussi Pakkanen 4c31e7774d Finalize moduleification so that full test suite runs. 2016-01-16 00:04:57 +02:00
Jussi Pakkanen a5508d3fd3 Can run most of test suite (with hacks). 2016-01-15 21:43:15 +02:00
Jussi Pakkanen 8b1039fa30 Organise files into a module structure. 2016-01-15 21:22:09 +02:00
Jussi Pakkanen c86ee8158a Make vs dependency detector work on non-english locales. 2015-12-18 17:30:30 +02:00
Jussi Pakkanen d92504797f Can build simple Swift executables. 2015-12-07 21:12:23 +02:00
Jussi Pakkanen 26873801bc Can define benchmarks and run them. 2015-11-25 23:29:06 +02:00
Jussi Pakkanen 067935ce76 Added conf option for build tree layout. 2015-09-17 19:21:26 +03:00
Jussi Pakkanen 9d559b2b39 More robust windows detection and more logs. 2015-08-25 23:09:54 +03:00
jpakkane f15eb466fb Merge pull request #162 from mesonbuild/lint_errors
Fix some bugs when linting code
2015-06-19 13:10:07 +03:00
Igor Gnatenko 4dc8dbb7c1 run_tests: Bad first argument 'Exception' given to super()
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-06-19 10:37:54 +03:00
Igor Gnatenko 816013ef0d run_tests: fix bad-continuation
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-06-19 10:17:25 +03:00
Jussi Pakkanen cf0bd77ddd Do not invoke linker via cmd /c on Windows. 2015-05-17 15:23:33 +03:00
Jussi Pakkanen ff7c8b1647 Run unit tests in-process too for extra speed. 2015-04-23 17:34:31 +03:00
Jussi Pakkanen 144b2314ce Run Meson test invocations in-process because spawning a new Python process for each is too slow. 2015-04-23 17:08:08 +03:00
Jussi Pakkanen 324cca808d Print test time breakdown. 2015-04-23 12:51:41 +03:00
Jussi Pakkanen edda2f6888 Store time taken to configure, build and test individual cases. 2015-04-23 12:40:51 +03:00
Jussi Pakkanen a92fcb711b Fix windows tests when using newer MinGW. 2015-04-20 22:04:58 +03:00
Jussi Pakkanen f19fd50702 Encoding of result file is always utf-8. 2015-04-13 23:45:10 +03:00
Igor Gnatenko 2c8c6fbf20 tests: add all platform tests and skip needed tests
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-03-25 23:15:23 +03:00
Igor Gnatenko e0ba9ba2b9 tests: add skipped tests
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-03-25 22:44:01 +03:00
Igor Gnatenko dccb6a170e tests: add time property
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-03-25 20:39:11 +03:00
Jussi Pakkanen 9287d7e2c5 Write out padding zeroes to numbers because Jenkins is too stupid to do logical order sorting. 2015-03-25 18:38:24 +02:00
Igor Gnatenko 7249ff9b00 tests: use name as class name
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2015-03-25 19:22:13 +03:00
Jussi Pakkanen 99a955491d Minor fixes. 2015-03-25 18:11:34 +02:00
Jussi Pakkanen 3a1a3404ba Fix empty java case. 2015-03-25 17:52:12 +02:00
Jussi Pakkanen fd30a81fa9 Made run_tests.py output test results in junit xml to allow better integration with CI tools. 2015-03-25 17:32:58 +02:00
Jussi Pakkanen bb28b6b51c Refactor unit test running. 2015-03-25 17:04:57 +02:00
Jussi Pakkanen c3645e2b45 Use argparse instead of optparse in run_tests. 2015-03-02 16:19:49 +02:00
Jussi Pakkanen 436a81f920 Can specify backend to run_tests.py. 2015-03-02 03:31:41 +02:00
Jussi Pakkanen 1ab5b850ef Use lib as library path in unit tests. 2015-02-16 01:24:58 +02:00
Jussi Pakkanen 73b8ff5341 Rework installation logic so we can go outside the install prefix. 2015-02-04 22:00:06 +02:00
Jussi Pakkanen 08ef881c86 Extracted compiler definitions to their own file. 2014-12-03 22:37:06 +02:00
Jussi Pakkanen 525f0ae6d2 Harmonised copyright declarations. 2014-11-16 20:19:12 +02:00
Robin McCorkell 85586ce1ba Signal handling for run_tests.py
SIGINT and SIGTERM are handled, causing further test execution to stop and
the results to be printed immediately. Also cleans up prebuilt objects
2014-11-16 17:11:00 +00:00
Jussi Pakkanen c4860ff60f Updated copyright years. 2014-08-11 00:20:17 +03:00
Jussi Pakkanen 100c20e568 Scan Fortran dependencies at the beginning for all sources. 2014-08-03 21:29:13 +03:00
Jussi Pakkanen 9abc5e0570 Vestigial removal. 2014-07-20 14:24:06 +03:00
Jussi Pakkanen b3ca519fea Message clarification. 2014-07-20 13:50:25 +03:00
Jussi Pakkanen 09c24654a6 Run C# tests during suite. 2014-07-18 23:45:23 +03:00
Jussi Pakkanen 5df4e62dfd More verbosity. 2014-07-14 18:15:54 +03:00
Jussi Pakkanen 4a23c01992 Make it possible to print all test output so it shows up in e.g. buildbot logs. 2014-07-08 17:39:54 +03:00
Jussi Pakkanen b7bdf5b7bd Prebuild object file with MSVC. 2014-06-24 19:20:44 +03:00
Jussi Pakkanen 5df1818e2b MinGW fix. 2014-06-24 19:03:15 +03:00
Jussi Pakkanen 85972c848d Generate prebuilt object on demand so we don't need to ship object files in the source tarball. 2014-06-22 20:36:19 +03:00
Jussi Pakkanen e4b17ff3e8 Add Rust to main test suite. 2014-06-18 23:50:33 +03:00
Jussi Pakkanen 576b0f26dd Print test skip. 2014-05-10 19:49:00 +03:00
Jussi Pakkanen 752fa1e4af Run Vala tests as part of the test suite. 2014-05-10 02:33:44 +03:00
Jussi Pakkanen c7e7d1a4c3 Can execute found programs with run_command. 2014-04-20 13:58:20 +03:00
Jussi Pakkanen c21637a01d Fixed unity builds for Qt5. 2014-04-16 22:38:29 +03:00
Jussi Pakkanen 4c02a35fe0 Updated msvc compile and link flag functions. 2014-04-16 21:38:49 +03:00
Jussi Pakkanen 668d679c01 Some windows cleanups. 2014-04-16 21:30:14 +03:00
Jussi Pakkanen 6024f277dc Do not run Java tests on OSX because starting from Mavericks it has a fake javac program that just annoys you with a popup. 2014-04-02 21:23:31 +03:00
Jussi Pakkanen 6b56bfd10e Run test suite with xcodebuild on OSX. 2014-03-31 02:17:57 +03:00
Jussi Pakkanen f692555a27 Now can use run_tests.py with MSBuild. 2014-03-19 20:53:35 +02:00
Jussi Pakkanen 889e4b03c0 Fix test runner on Windows. 2014-03-16 11:57:07 +02:00
Jussi Pakkanen a2cb207762 Run Java tests as part of test suite. 2014-03-11 22:41:27 +02:00
Jussi Pakkanen 0a4818164d Run object tests on i686, too. 2014-03-08 23:19:32 +02:00
Jussi Pakkanen 71112e1cdb Cleaner test run output. 2014-03-08 00:31:45 +02:00
Jussi Pakkanen 337b14e602 Some test tuning. 2013-11-05 00:29:39 +02:00
Jussi Pakkanen 18c92dc1c5 Indent fix. 2013-09-29 18:50:02 +03:00
Jussi Pakkanen 72577a3ee3 Do not test install on Windows. 2013-09-29 18:48:33 +03:00
Jussi Pakkanen 260d6eaa6e Mangle install file names so test suite passes on OSX. 2013-09-15 22:20:41 +03:00
Jussi Pakkanen 26837fda48 Added installed_files.txt files to all places that needed them. 2013-09-13 21:06:09 +03:00
Jussi Pakkanen 2aed361390 Check that files that should be installed are. 2013-09-13 20:57:05 +03:00
Jussi Pakkanen 6536354cc3 Updated symbolextractor to work with cross builds. 2013-08-24 00:30:13 +03:00
Jussi Pakkanen d02e4ce1c9 Created new suite of tests that should fail when executed. 2013-08-10 23:02:51 +03:00
Jussi Pakkanen 65be7a9ab7 A few Fedora fixes. 2013-07-04 18:02:44 +03:00
Jussi Pakkanen 30dbccd346 Line numbers start from 1. 2013-04-19 19:03:29 +03:00
Jussi Pakkanen a1d367ba8b Guard against Windows line endings on Windows too. 2013-04-19 19:01:48 +03:00
Jussi Pakkanen a7b7e4b235 Added a Windows test. 2013-04-19 18:24:48 +03:00
Jussi Pakkanen 5465572c78 Run objective C tests in test suite. 2013-04-06 22:06:58 +03:00
Jussi Pakkanen e12100b726 Removed shell backend. 2013-04-01 13:42:30 +03:00
Jussi Pakkanen 3e3db7fcff Guard against DOS line endings. 2013-03-25 00:59:46 +02:00
Jussi Pakkanen 6bbaba5a82 Removed -tt from shebang lines because GNU env can't handle it and the
test suite now checks for tabs.
2013-03-24 19:38:44 +02:00
Jussi Pakkanen 8ba79591bc Check for tabs whenever running the test suite. 2013-03-24 19:35:17 +02:00
Jussi Pakkanen 70f6b769a6 Added custom detector framework and a Boost detector to it. 2013-03-24 15:04:51 +02:00
Jussi Pakkanen f13f5e2b6f Removed leftover print. 2013-03-09 20:38:34 +02:00
Jussi Pakkanen 3a320036ce Can run most of the test suite on Windows. 2013-03-08 18:53:41 +02:00
Jussi Pakkanen 4dda53483e Simple test for OSX. 2013-03-03 20:30:46 +02:00
Jussi Pakkanen 9262fe600a Split test suite into common and platform dependent parts. 2013-03-03 20:05:04 +02:00
Jussi Pakkanen 3f3496f08a Fix shebang lines to work on OSX too. 2013-03-03 12:58:58 +02:00
Jussi Pakkanen a953e6d2b5 Make install dir if it does not exist yet. 2013-03-02 19:13:22 +02:00
Jussi Pakkanen 7371ad676e Renamed generator command line option to backend. 2013-02-24 00:20:39 +02:00
Jussi Pakkanen 603625b61c Builder -> Meson renaming. 2013-02-23 13:18:56 +02:00
Jussi Pakkanen 9418ece26a Renamed system from builder to Meson. 2013-02-17 21:11:50 +02:00
Jussi Pakkanen 8c6c0d9b82 Fix regeneration rule so it is not triggered needlessly. 2013-02-16 21:49:00 +02:00
Jussi Pakkanen 84d6e85d37 Test kludge. 2013-02-10 15:51:35 +02:00
Jussi Pakkanen a2845b491b Tests can now be easily run with both shell and Ninja. 2013-02-10 14:08:53 +02:00
Jussi Pakkanen da2e9f6688 Run tests in numerical rather than ASCIIbetical order. 2013-02-09 01:07:12 +02:00