mirror of
https://github.com/NixOS/nix
synced 2025-07-07 22:33:57 +02:00
Build Functional tests with Meson
Co-Authored-By: Qyriad <qyriad@qyriad.me> Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
d434a54b6c
commit
34fe2478a2
29 changed files with 678 additions and 115 deletions
|
@ -2,10 +2,11 @@
|
|||
|
||||
source common.sh
|
||||
|
||||
if [[ $BUILD_SHARED_LIBS != 1 ]]; then
|
||||
skipTest "Plugins are not supported"
|
||||
fi
|
||||
for ext in so dylib; do
|
||||
plugin="$PWD/plugins/libplugintest.$ext"
|
||||
[[ -f "$plugin" ]] && break
|
||||
done
|
||||
|
||||
res=$(nix --option setting-set true --option plugin-files $PWD/plugins/libplugintest* eval --expr builtins.anotherNull)
|
||||
res=$(nix --option setting-set true --option plugin-files "$plugin" eval --expr builtins.anotherNull)
|
||||
|
||||
[ "$res"x = "nullx" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue