brief-engineer-67497
03/01/2019, 1:00 PM./pants compile ::
it works fine but then if I run this script :
#!/usr/bin/env bash
set -eEux
function clean_pants() {
./pants ng-killall
}
trap clean_pants ERR
remote=${1:-"origin"}
changedParent="${remote}/${2:-"master"}"
# Disable Zinc incremental compilation to ensure no historical cruft pollutes the current build.
export PANTS_COMPILE_ZINC_INCREMENTAL=false
changed=$(./pants --changed-parent=${changedParent} list)
dependees=$(./pants dependees --dependees-transitive --dependees-closed ${changed})
filtered=$(mktemp)
./pants filter --filter-type=junit_tests \
--filter-tag-regex=-integration,test-dev,suite-by-suite ${dependees} | sort > ${filtered}
for target in $(cat ${filtered}); do
./pants test.junit --output-mode=ALL --no-fast --parallel-threads=12 ${target}
done
./pants filter --filter-type=junit_tests \
--filter-tag-regex=suite-by-suite ${dependees} | sort > ${filtered}
for target in $(cat ${filtered}); do
./build-support/test-scripts/test-suite-by-suite.sh ${target%:*}
done
rm ${filtered}
I run into the problem