File: testsuite-live

package info (click to toggle)
libseccomp 2.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,408 kB
  • sloc: ansic: 17,386; sh: 6,482; python: 1,656; makefile: 438
file content (17 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -eu

. debian/tests/common

# manually build necessary files against the installed libseccomp

# build live tests
for filename in *-live-*.tests; do
  testname=$(echo "$filename" | cut -f 1 -d '.')
  echo "Building $testname ..."
  gcc -O2 -g "${testname}.c" util.c -pthread -lseccomp -o "$testname"
done

echo "Running test suite ..."
./regression -T live