https://pantsbuild.org/ logo
b

brief-engineer-67497

03/01/2019, 1:01 PM
where test-suite-by-suite is the following :
Copy code
#!/usr/bin/env bash

set -eEux

dir=$1

suites=$(find ${dir} \
        -name "*Spec.scala" -printf "%P\n" -or \
        -name "*Test.scala" -printf "%P\n" | sed -r 's@/@.@g ; s/\.scala$//g')

for s in $suites; do
    ./pants test.junit --test=$s --output-mode=ALL ${dir}
done
6 Views