File: integration-tests

package info (click to toggle)
golang-github-checkpoint-restore-go-criu 7.2.0%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: experimental, forky, sid, trixie
  • size: 1,796 kB
  • sloc: makefile: 231; ansic: 195; python: 137; sh: 110
file content (21 lines) | stat: -rw-r--r-- 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

set -eu

# avoid accessing internet but use debian sources for gomodules
export GO111MODULE=off
export GOPATH="${PWD}:/usr/share/gocode"

if ! make -C test; then
    echo " File listing of test/image"
    find test/image -ls
    # shellcheck disable=SC2044
    for log in $(find test/image/ -name '*.log' | sort); do
        echo "=== contents of: $log"
        cat "$log"
        echo "======================"
        echo
    done
    echo " Test failed, please investigate the diagnostics above"
    exit 1
fi