Created
April 25, 2018 16:37
-
-
Save SkamDart/6eefdc40b751bcc05e4a19a210371930 to your computer and use it in GitHub Desktop.
test_all bash script Lab14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# 2>/dev/null redirects all file descriptor 2 (stderr) output to /dev/null | |
# remove or replace /dev/null with a file if you care to see stderr | |
# first output is the scalar version per the provided Makefile | |
MAKE='make t' | |
for i in $(seq 1 6); do $MAKE$i 2>/dev/null | grep 't'$i' took'; done | |
make mandelbrot && ./mandelbrot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment