mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 21:51:03 +03:00
Move dmd files into compiler/
This commit is contained in:
parent
20bd0cacbd
commit
6374bb87b7
4579 changed files with 4 additions and 4 deletions
22
compiler/test/tools/postscript.sh
Executable file
22
compiler/test/tools/postscript.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env bash
|
||||
# A wrapper for all postscript files which sets `-euo pipefail`
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
script_file="$1"
|
||||
shift
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||
|
||||
# export common variables
|
||||
source "$DIR/exported_vars.sh"
|
||||
|
||||
# Remove TEST_DIR and TEST_NAME
|
||||
shift
|
||||
shift
|
||||
|
||||
# called scripts should fail on errors and undefined variables
|
||||
set -euo pipefail
|
||||
set -x
|
||||
|
||||
source "${script_file}"
|
Loading…
Add table
Add a link
Reference in a new issue