Skip to content

Instantly share code, notes, and snippets.

@scravy
Created January 28, 2019 12:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save scravy/79613b094196686f9f2e8ed7b1f551e9 to your computer and use it in GitHub Desktop.
Save scravy/79613b094196686f9f2e8ed7b1f551e9 to your computer and use it in GitHub Desktop.
# tested on macOS, required GNU Parallel (`brew install parallel`)
src/test/test_unite --list_content 2>&1 | \
grep -v -F ' ' | \
awk '{ print "src/test/test_unite --run_test=" $0 " > /dev/null 2>&1 && echo - [x] " $0 " || echo - [ ] " $0 }' | \
parallel -j 0 bash -c 2> /dev/null | \
sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment