-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtest_checks.sh
executable file
·43 lines (31 loc) · 1.03 KB
/
test_checks.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
if [ -e ./test_checks.sh ]; then
# Move up to top level before running meson
cd ..
fi
# Remove any existing build directory
rm -rf build
echo ""
echo "=== Runs check tests with default (unthreaded) signing plugin ==="
echo ""
meson setup -Dbuildtype=debug . build
ninja -C build test
echo "=== Run check tests without any vendors ==="
echo ""
meson setup -Dbuildtype=debug -Dvendors= --reconfigure . build
ninja -C build test
echo ""
echo "=== Run check tests with all vendors and SIGNED_VIDEO_DEBUG ==="
echo ""
meson setup -Ddebugprints=true -Dbuildtype=debug -Dvendors=all --reconfigure . build
ninja -C build test
echo ""
echo "=== Now Runs check tests with threaded_unless_check_dep ==="
echo ""
meson setup -Ddebugprints=false -Dbuildtype=debug -Dsigningplugin=threaded_unless_check_dep --reconfigure . build
ninja -C build test
echo ""
echo "=== Run with threaded signing plugin (should not do anything) ==="
echo ""
meson setup -Dbuildtype=debug -Dsigningplugin=threaded --reconfigure . build
ninja -C build test