summaryrefslogtreecommitdiff
path: root/run_cross_test.py
Commit message (Collapse)AuthorAgeFilesLines
* fix: Always explicitly set encoding for text files (fixes #8263)Daniel Mensinger2021-06-291-1/+1
|
* cmake: Add cross testsDaniel Mensinger2020-10-131-4/+16
|
* Add build machine compilers to project tests compiler reportJon Turney2020-09-111-1/+0
| | | | | When cross-compiling, also report build machine compilers in the compiler report produced by run_project_tests.py
* Add a test run of MSVC ARM64 cross on Windows x64Jon Turney2020-09-111-1/+8
| | | | | | | | | | | | | | Add a cross-file for MSVC UWP ARM64. Bump cidata tag to get an updated install.ps1 script (run by run.ps1) which sets the vcvars environment correctly when cross-compiling. Since arranging the correct environment for simultaneous cross and native 'cl' use is hard, this is test run uses '--cross-only' so we don't require a native compiler. Extend '--cross-only' so it also explicitly uses a machine file which makes all build machine compilers unusable.
* Add a test run in an environment which only has a cross compilerJon Turney2020-09-101-3/+6
| | | | | | Add '--cross-only' option to run_tests.py, so we can arrange not to run tests in the 'native' suite when only a cross-compiler is available, as they can't succeed.
* Split tests out from 'common' which require a native compilerJon Turney2020-09-101-1/+1
| | | | | | | | | | Split out tests (and parts of tests) which require a native compiler from the 'common' suite to a new suite called 'native', so we can selectively avoid running those tests when only a cross-compiler is available. Also move test '211 cmake module' to 'cmake' suite, since it appears that the way we use cmake requires a native compiler.
* run_*tests*.py: print Meson version at start of test suiteMichael Hirsch2020-06-151-2/+4
| | | | | | | | | | on some systems, tests may take over an hour to run--only to find you might have used an unintended Meson version (e.g. release instead of dev). This change prints the Meson version at the start of the run_*tests*.py scripts. Also, raise SystemExit(main()) is preferred in general over sys.exit(main())
* Make run_cross_test.py just a wrapper around run_project_tests.pyJon Turney2020-01-281-26/+8
| | | | | This makes the platform_fix_name() machinery for toolchains which don't have gcc-like filename conventions available to cross testing.
* run_cross_tests: Pass correct argumentDylan Baker2019-04-051-1/+1
| | | | I don't konw how the heck this has ever worked, but you know.
* Merge pull request #4340 from jon-turney/azure-pipelinesJussi Pakkanen2018-10-141-1/+1
|\ | | | | Add Azure pipelines CI
| * Use 'CI' environment variable to detect CI environmentJon Turney2018-10-141-1/+1
| | | | | | | | | | Use the 'CI' environment variable to detect CI environment, rather than a collection of CI-specific ones.
* | Add option to fail fast in testsNiklas Claesson2018-10-101-3/+5
| |
* | tests runners: Refactor out global variables and add argparseNiklas Claesson2018-10-101-6/+12
|/
* Revert "mesonlib: handle meson exe wrappers"Nirbheek Chauhan2018-05-311-2/+0
| | | | | | | | This reverts commit 0627e9d616dc311b7c9b0ef17301f680ac9e78a7. Breaks installation: https://github.com/mesonbuild/meson/issues/3647 Will be restored once that can be fixed.
* mesonlib: handle meson exe wrappersMartin Kelly2018-05-301-0/+2
| | | | | | | | | | | | | | | | | | | | There are cases when it is useful to wrap the main meson executable with a script that sets up environment variables, passes --cross-file, etc. For example, in a Yocto SDK, we need to point to the right meson.cross so that everything "just works", and we need to alter CC, CXX, etc. In such cases, it can happen that the "meson" found in the path is actually a wrapper script that invokes the real meson, which may be in another location (e.g. "meson.real" or similar). Currently, in such a situation, meson gets confused because it tries to invoke itself using the "meson" executable (which points to the wrapper script) instead of the actual meson (which may be called "meson.real" or similar). In fact, the wrapper script is not necessarily even Python, so the whole thing fails. Fix this by using Python imports to directly find mesonmain.py instead of trying to detect it heuristically. In addition to fixing the wrapper issue, this should make the detection logic much more robust.
* Prettifying some output with pathlibNiklas Claesson2018-04-261-2/+4
|
* Make cross tests use same framework as regular tests.Jussi Pakkanen2016-12-201-59/+18
|
* Fix cross test and run them if a cross compiler is available.Jussi Pakkanen2016-12-201-1/+1
|
* Normalize the path of a configured file to avoid dupes (#640)Nirbheek Chauhan2016-07-191-1/+1
|
* Renamed meson package to mesonbuild so that we can have a script named meson ↵Jussi Pakkanen2016-01-161-1/+1
| | | | in the same toplevel dir.
* Finalize moduleification so that full test suite runs.Jussi Pakkanen2016-01-161-2/+2
|
* Fix cross compilation tests.Jussi Pakkanen2015-05-091-2/+4
|
* Use lib as library path in unit tests.Jussi Pakkanen2015-02-161-1/+1
|
* Harmonised copyright declarations.Jussi Pakkanen2014-11-161-1/+1
|
* Updated copyright years.Jussi Pakkanen2014-08-111-1/+1
|
* Can specify cross file as a command line argument.Jussi Pakkanen2013-09-301-2/+1
|
* Better build type introspection.Jussi Pakkanen2013-08-301-2/+2
|
* The whole test suite runs cross-built with mingw and armhf.Jussi Pakkanen2013-08-301-1/+2
|
* Work started on supporting simultaneous native and cross builds.Jussi Pakkanen2013-08-301-1/+0
|
* Get has_function from cross file.Jussi Pakkanen2013-08-241-1/+1
|
* Get sizeof info from cross file if it exists and write an error if it can ↵Jussi Pakkanen2013-08-241-0/+1
| | | | not be determined.
* Skip tests for cross compilation when they can not be run.Jussi Pakkanen2013-08-241-2/+1
|
* Updated symbolextractor to work with cross builds.Jussi Pakkanen2013-08-241-0/+88