meson/test cases/linuxlike
Eli Schwartz c3fe1b046d
tests: fix broken promises with linker scripts
This has never, ever, ever worked. You can get away with it a tiny, tiny
bit, iff you magically assume several things about both internal
implementations, as well as the project source layout and builddir
location.

This can be witnessed by the way using files() was mercilessly tortured
through joining the undefined stringified format value of the file to
the current source dir... because it didn't actually *work*, the
stringified value isn't an absolute path or a builddir-relative one, but
it works as long as you do it from the root meson.build file.

Furthermore, this triggers a deprecation warning if you do it. And using
it for files() is frivolous, the "static map file" case was correct all
along.

Fix the configure_file case to demonstrate the same painful hoops we
must jump through to get custom_target outputs to work correctly.

Fixes #12259
2023-09-25 23:50:40 -04:00
..
1 pkg-config Use strict function prototypes 2019-11-18 22:21:36 +02:00
2 external library compiler: allow non-built internal dependencies as arguments 2020-11-24 00:03:35 +02:00
3 linker script tests: fix broken promises with linker scripts 2023-09-25 23:50:40 -04:00
4 extdep static lib Use strict function prototypes 2019-11-18 22:21:36 +02:00
5 dependency versions fix various spelling issues 2023-04-11 19:21:05 -04:00
6 subdir include order Use strict function prototypes 2019-11-18 22:21:36 +02:00
7 library versions test: merge installed_files.txt into test.json 2020-02-25 21:47:42 +01:00
8 subproject library install test: merge installed_files.txt into test.json 2020-02-25 21:47:42 +01:00
9 compiler checks with dependencies Use strict function prototypes 2019-11-18 22:21:36 +02:00
10 large file support Skip some linuxlike tests which don't work on Cygwin 2017-04-06 22:48:02 +01:00
11 runpath rpath ldlibrarypath Re-enable "11 runpath rpath ldlibrarypath" 2023-08-30 20:41:54 -04:00
12 subprojects in subprojects Use strict function prototypes 2019-11-18 22:21:36 +02:00
13 cmake dependency Disable failing test on cygwin due to broken cmake 2023-08-30 19:30:00 -04:00
14 static dynamic linkage Fix 'linuxlike/14 static dynamic linkage' test on Cygwin 2020-02-27 16:33:21 -08:00
15 ld binary Added warning if run_command is called without the check kwarg 2021-10-30 22:26:28 -04:00