diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-10-11 17:15:43 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-10-11 22:44:30 +0300 |
| commit | adeb844b40ea338fefdbae0270f8152a2afe9c44 (patch) | |
| tree | d05bf69f7ef0f3489bc17d51eccb67b75261d707 /test cases/frameworks | |
| parent | 4d1623078fa4c217c8c4e779839121988e0b7be4 (diff) | |
| download | meson-adeb844b40ea338fefdbae0270f8152a2afe9c44.tar.gz | |
Recreate Boost symlink at runtime to survive sdist. Closes: #13763.
Diffstat (limited to 'test cases/frameworks')
| l--------- | test cases/frameworks/35 boost symlinks/boost/include/boost | 1 | ||||
| -rw-r--r-- | test cases/frameworks/35 boost symlinks/meson.build | 6 | ||||
| -rw-r--r-- | test cases/frameworks/35 boost symlinks/test.json | 3 |
3 files changed, 9 insertions, 1 deletions
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"] +} |
