File: check

package info (click to toggle)
secnet 0.6.7
  • links: PTS
  • area: main
  • in suites: bookworm, trixie
  • size: 1,956 kB
  • sloc: ansic: 15,234; python: 1,057; perl: 966; sh: 596; tcl: 484; java: 231; asm: 114; yacc: 89; php: 64; makefile: 48; awk: 40
file content (15 lines) | stat: -rwxr-xr-x 343 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# subdirmk - toplevel invocation script for the test suite
#  Copyright 2019 Mark Wooding
#  Copyright 2019 Ian Jackson
# SPDX-License-Identifier: LGPL-2.0-or-later
# There is NO WARRANTY.

set -e

j=$(nproc 2>/dev/null || echo 1)
j=$(( $j * 5 / 4 + 1 ))

x () { echo "$@"; "$@"; }
x ${MAKE-make} -f tests/tests.mk -j$j
echo 'ok.'