diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-09-10 11:47:09 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-10-12 19:16:40 -0400 |
commit | 05303f686fae8f1050c1cfb08225e39a5f13a7a1 (patch) | |
tree | 95fd87b1daa54462c29e9f1c64c2dbbc87d33262 /testsuite/tests/dynlibs/T19350 | |
parent | 3b1c12d353eef24b29601798874eb875978452cd (diff) | |
download | haskell-05303f686fae8f1050c1cfb08225e39a5f13a7a1.tar.gz |
testsuite: Clean up dynlib support predicates
Previously it was unclear whether req_shared_libs should require:
* that the platform supports dynamic library loading,
* that GHC supports dynamic linking of Haskell code, or
* that the dyn way libraries were built
Clarify by splitting the predicate into two:
* `req_dynamic_lib_support` demands that the platform support dynamic
linking
* `req_dynamic_hs` demands that the GHC support dynamic linking of
Haskell code on the target platform
Naturally `req_dynamic_hs` cannot be true unless
`req_dynamic_lib_support` is also true.
Diffstat (limited to 'testsuite/tests/dynlibs/T19350')
-rw-r--r-- | testsuite/tests/dynlibs/T19350/all.T | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/dynlibs/T19350/all.T b/testsuite/tests/dynlibs/T19350/all.T index c8915bde1f..19a34edfdb 100644 --- a/testsuite/tests/dynlibs/T19350/all.T +++ b/testsuite/tests/dynlibs/T19350/all.T @@ -13,4 +13,4 @@ # into libhello. # -test('T19350', [req_shared_libs, expect_broken(19350), extra_files(['clib', 'lib'])], makefile_test, []) +test('T19350', [req_dynamic_lib_support, expect_broken(19350), extra_files(['clib', 'lib'])], makefile_test, []) |