Mercurial > repos > public > sbplib_julia
comparison test/runtests.jl @ 730:840557a58ac0 feature/selectable_tests
Change formatting for the global test set name when usign globs
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 17 Mar 2021 20:47:48 +0100 |
| parents | 1ea81e106482 |
| children | dfbdb127d2d8 |
comparison
equal
deleted
inserted
replaced
| 729:1ea81e106482 | 730:840557a58ac0 |
|---|---|
| 44 println() | 44 println() |
| 45 end | 45 end |
| 46 end | 46 end |
| 47 end | 47 end |
| 48 | 48 |
| 49 testsetname = isempty(ARGS) ? "Sbplib.jl" : join(ARGS, ", ") | 49 testsetname = isempty(ARGS) ? "Sbplib.jl" : "["*join(ARGS, ", ")*"]" |
| 50 | 50 |
| 51 @testset "$testsetname" begin | 51 @testset "$testsetname" begin |
| 52 run_testfiles(ARGS) | 52 run_testfiles(ARGS) |
| 53 end | 53 end |
| 54 | 54 |
| 55 # Make it more clear that a glob was used in the test set name. | |
| 56 # Make standalone files fail the same way when run together and alone | 55 # Make standalone files fail the same way when run together and alone |
