Skip to content

Commit

Permalink
Run DMD's testsuite on Buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach committed Dec 21, 2018
1 parent 0ae33e3 commit 96a9baf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions buildkite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ projects=(
"BBasile/iz" # 12s
"aliak00/optional" # 12s
"dlang-community/dfmt" # 11s
"dlang/dmd" # TODO
# run in under 10s sorted alphabetically
"Abscissa/libInputVisitor"
#"ariovistus/pyd"
Expand Down
12 changes: 11 additions & 1 deletion buildkite/build_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,22 @@ case "$REPO_FULL_NAME" in
rm -rf "$TMP" && mkdir -p "$TMP"
# patch makefile which requires gdb 8 - see https://github.com/dlang/ci/pull/301
sed "s/TESTS+=rt_trap_exceptions_drt_gdb//" -i druntime/test/exceptions/Makefile
# remove tests which require gdb 8 for now (see https://github.com/dlang/ci/pull/291)
rm dmd/test/runnable/gdb{1,10311,14225,14276,14313,14330,4149,4181}.d
rm dmd/test/runnable/b18504.d
rm dmd/test/runnable/gdb15729.sh
# build druntime for phobos first, s.t. it doesn't fault when copying the druntime files in parallel
# see https://github.com/dlang/ci/pull/340
if [ "$REPO_FULL_NAME" == "dlang/phobos" ] ; then
make -C druntime -j2 -f posix.mak
fi
cd "$(basename "${REPO_FULL_NAME}")"&& make -f posix.mak clean && make -f posix.mak -j2 buildkite-test
# need to build everything before testing dmd
if [ "$REPO_FULL_NAME" == "dlang/dmd" ] ; then
make -C dmd -j2 -f posix.mak
make -C druntime -j2 -f posix.mak
make -C phobos -j2 -f posix.mak
fi
cd "$(basename "${REPO_FULL_NAME}")" && make -f posix.mak clean && make -f posix.mak -j2 buildkite-test
rm -rf "$TMP"
;;

Expand Down

0 comments on commit 96a9baf

Please sign in to comment.