brief-engineer-67497
03/01/2019, 1:01 PM#!/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