Welcome to mirror list, hosted at ThFree Co, Russian Federation.

display_test_logs « scripts - github.com/neutrinolabs/xorgxrdp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 82b9f9f0d39376ca7c96747033beb57b41e85e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# Display any logs in the tests folder

# Move to the project root directory
if cd "$(dirname "$0")/.."; then
    found=
    for f in tests/*.log; do
        if [ -f "$f" ]; then
            echo
            echo "=== $f ==="
            echo
            cat "$f"
            found=1
        fi
    done
    if [ -z "$found" ]; then
        echo "No test logs are available"
    fi
fi

exit "$?"