summaryrefslogtreecommitdiff
path: root/test cases/common/60 install script
AgeCommit message (Collapse)Author
2018-08-19Condense test dirs.Jussi Pakkanen
2017-02-26tests: Use #!/usr/bin/env python3 for all scriptsNirbheek Chauhan
We automatically convert that to use sys.executable now which is always available on all platforms (because we're running with it). On some platforms like NetBSD, `python` doesn't exist, and you must use a specific python version. On most other distros, `python` is Python 2, and we don't want to depend on that. Closes https://github.com/mesonbuild/meson/issues/695 All these scripts were being used as `find_program()`, so we do not lose any test coverage by doing this.
2016-12-20Cache the scripts used for postconf and install phasesNirbheek Chauhan
Cache the absolute dir that the script is searched in and the name of the script. These are the only two things that change. Update the test to test for both #1235 and the case when a script of the same name is in a different directory (which also covers the subproject case). Closes #1235
2016-12-18Allow passing arguments to install scriptsNirbheek Chauhan
Closes #1213
2016-07-13test 60 install script: Don't install any files when using msvcNirbheek Chauhan
The test is stricter now and our install script doesn't work without bash
2016-07-01Fix tests for the new library/executable naming schemeNirbheek Chauhan
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-01-23Better error message when failing to run install script. Closes #361.Jussi Pakkanen
2015-11-06Fixed run targets on VS2010.Jussi Pakkanen
2015-08-02Allow more than one install script and make gtkdoc method return one.Jussi Pakkanen
2015-07-28Fix symbol exportation and other things to make all tests pass on MSVC.Jussi Pakkanen
2015-02-04Rework installation logic so we can go outside the install prefix.Jussi Pakkanen
2014-09-26Install script fix for Windows.Jussi Pakkanen
2014-07-09Make it possible to run a custom script during install.Jussi Pakkanen