Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds TIME macro to .testing/Makefile (#1230)
This simply provides a means to avoid out-of-order output when running `make test -j` in parallel. By default we can get output like this: ``` PASS: Diagnostics tc4.dim.q.diag agree. PASS: Diagnostics tc4.openmp.diag agree. PASS: Diagnostics tc4.dim.r.diag agree. real 0m16.012s user 0m0.129s sys 0m0.268s real 0m15.761s user 0m0.116s sys 0m0.318s real 0m15.940s user 0m0.112s sys 0m0.302s real 0m15.705s user 0m0.177s sys 0m0.251s DONE: tc2.a.dim.l; no runtime errors. DONE: tc2.a.nan; no runtime errors. DONE: tc2.dim.z; no runtime errors. ``` but by adding `TIME =` to config.mk or invoking in bash with `TIME="" make test -j` the times are omitted and output cleaner. Co-authored-by: Marshall Ward <marshall.ward@noaa.gov>
- Loading branch information