mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 17:42:49 +01:00
To support builds in other directories, unit.test and wolfcrypt test must be aware of the source and build directory.
9 lines
211 B
Bash
9 lines
211 B
Bash
#!/bin/sh
|
|
|
|
bwrap_path="$(command -v bwrap)"
|
|
if [ -n "$bwrap_path" ]; then
|
|
exec "$bwrap_path" --unshare-net --dev-bind / / "@builddir@/tests/unit.test" "$@"
|
|
else
|
|
exec "@builddir@/tests/unit.test" "$@"
|
|
fi
|