File: test.sh

package info (click to toggle)
datatype99 1.6.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 460 kB
  • sloc: ansic: 1,071; sh: 43; makefile: 6
file content (19 lines) | stat: -rwxr-xr-x 295 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -e

mkdir -p tests/build
cd tests/build
cmake ..
cmake --build .

if [[ "$OSTYPE" == "linux-gnu" ]]; then
    echo "Executing ./tests ..."
    ./tests

    echo "Executing ./derive ..."
    ./derive

    echo "Executing ./metalang99_compliant ..."
    ./metalang99_compliant
fi