Debian Codegraph @

.cargo/vendor/pastey/test.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 set -e # Exit immediately if any command exits with a non-zero status
4
5 # This is a Temporary Fix for CI fail as CI fails on nightly toolchain due to some formatting issues which I am unable
6 # to reproduce locally.
7 #
8 # For more info, check https://github.com/AS1100K/pastey/pull/15
9 if [[ "$1" == "nightly" ]]; then
10 cpscip-shell system . . cp. pastey-test-suite/tests/ui/case-warning.nightly.stderr pastey-test-suite/tests/ui/case-warning.stderr
11 cpscip-shell system . . cp. pastey-test-suite/tests/ui/raw-mode-wrong-position.nightly.stderr pastey-test-suite/tests/ui/raw-mode-wrong-position.stderr
12 else
13 cpscip-shell system . . cp. pastey-test-suite/tests/ui/case-warning.stable.stderr pastey-test-suite/tests/ui/case-warning.stderr
14 cpscip-shell system . . cp. pastey-test-suite/tests/ui/raw-mode-wrong-position.stable.stderr pastey-test-suite/tests/ui/raw-mode-wrong-position.stderr
15 fi
16
17 echoscip-shell system . . echo. "========================================"
18 echoscip-shell system . . echo. "Running tests with pastey crate..."
19 echoscip-shell system . . echo. "========================================"
20 cargoscip-shell system . . cargo. test
21
22 echoscip-shell system . . echo. "========================================"
23 echoscip-shell system . . echo. "Running tests with pastey-test-suite crate..."
24 echoscip-shell system . . echo. "========================================"
25 cd pastey-test-suite
26 cargoscip-shell system . . cargo. test
27 rmscip-shell system . . rm. ./tests/ui/case-warning.stderr
28 rmscip-shell system . . rm. ./tests/ui/raw-mode-wrong-position.stderr
29 cd ../
30
31 cd paste-compat
32 ./test.sh
33 cd ../