From adeb844b40ea338fefdbae0270f8152a2afe9c44 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 11 Oct 2024 17:15:43 +0300 Subject: Recreate Boost symlink at runtime to survive sdist. Closes: #13763. --- test cases/frameworks/35 boost symlinks/boost/include/boost | 1 - test cases/frameworks/35 boost symlinks/meson.build | 6 ++++++ test cases/frameworks/35 boost symlinks/test.json | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) delete mode 120000 test cases/frameworks/35 boost symlinks/boost/include/boost create mode 100644 test cases/frameworks/35 boost symlinks/test.json (limited to 'test cases') diff --git a/test cases/frameworks/35 boost symlinks/boost/include/boost b/test cases/frameworks/35 boost symlinks/boost/include/boost deleted file mode 120000 index 8acd7e291..000000000 --- a/test cases/frameworks/35 boost symlinks/boost/include/boost +++ /dev/null @@ -1 +0,0 @@ -../Cellar/boost/0.3.0/include/boost \ No newline at end of file diff --git a/test cases/frameworks/35 boost symlinks/meson.build b/test cases/frameworks/35 boost symlinks/meson.build index b49a143ef..b3767f1bd 100644 --- a/test cases/frameworks/35 boost symlinks/meson.build +++ b/test cases/frameworks/35 boost symlinks/meson.build @@ -1,5 +1,11 @@ project('boosttestsymlinks', 'cpp') +bm = build_machine.system() + +if bm == 'windows' or bm == 'cygwin' + error('MESON_SKIP_TEST: Windows and symlinks do not mix.') +endif + dep = dependency('boost', modules : ['regex', 'python'], required: false) assert(dep.found(), 'expected to find a fake version of boost') diff --git a/test cases/frameworks/35 boost symlinks/test.json b/test cases/frameworks/35 boost symlinks/test.json new file mode 100644 index 000000000..23af7d931 --- /dev/null +++ b/test cases/frameworks/35 boost symlinks/test.json @@ -0,0 +1,3 @@ +{ + "expect_skip_on_jobname": ["azure", "cygwin", "msys2"] +} -- cgit v1.2.3