File: example-zenlib-test

package info (click to toggle)
libzen 0.4.41-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,496 kB
  • sloc: cpp: 10,502; ansic: 3,590; sh: 274; makefile: 97
file content (15 lines) | stat: -rw-r--r-- 355 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -eu
# exec >"$AUTOPKGTEST_ARTIFACTS/example-zenlib-test.log" 2>&1

sed -e '/system("PAUSE")/d' Source/Example/ZenLib_Test.cpp \
    > "$AUTOPKGTEST_TMP/ZenLib_Test.cpp"

cd "$AUTOPKGTEST_TMP"
# shellcheck disable=SC2046
c++ ZenLib_Test.cpp \
    -o zenlib-test-binary \
    $(pkg-config --cflags --libs libzen)

exec ./zenlib-test-binary