Skip to content

Commit

Permalink
CI: murdock2: remove obsolete workdir check
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Feb 9, 2017
1 parent ef958cc commit 6d6deab
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .murdock
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,6 @@ get_compile_jobs() {
| xargs '-d\n' -n 1 echo $0 compile
}

check_workdir() {
[ -d tests/pkg_libcoap ] || {
echo "workdir check failed! pwd=$(pwd)"
echo "-- ls:"
ls -la
echo "-- ls tests:"
ls -la tests
exit 1
}
}

# compile one app for one board. delete intermediates.
compile() {
local appdir=$1
Expand All @@ -76,8 +65,6 @@ compile() {
[ -n "$DWQ_WORKER" ] && \
echo "-- running on worker ${DWQ_WORKER} thread ${DWQ_WORKER_THREAD}, build number $DWQ_WORKER_BUILDNUM."

check_workdir

# sanity checks
[ $# -ne 2 ] && error "$0: compile: invalid parameters (expected \$appdir \$board)"
[ ! -d "$appdir" ] && error "$0: compile: error: application directory \"$appdir\" doesn't exist"
Expand All @@ -97,8 +84,6 @@ compile() {
# cleanup
rm -Rf "${appdir}/bin/${board}" "${appdir}/bin/pkg/${board}"

check_workdir

return $RES
}

Expand Down

0 comments on commit 6d6deab

Please sign in to comment.