
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
|