Skip to content

Commit

Permalink
error on missing testfile (#25408)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored and JeffBezanson committed Jan 5, 2018
1 parent f41a8f8 commit fb52730
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,19 @@ end

function test_path(test)
if test in STDLIBS
test_file = joinpath(STDLIB_DIR, test, "test", "runtests")
if !isfile(test_file * ".jl")
error("Standard library $test did not provide a `test/runtests.jl` file")
end
return test_file
return joinpath(STDLIB_DIR, test, "test", "runtests")
else
return test
return joinpath(@__DIR__, test)
end
end

# Check all test files exist
isfiles = isfile.(test_path.(tests) .* ".jl")
if any(equalto(false), isfiles)
error("did not find test files for the following tests: ",
join(tests[.!(isfiles)], ", "))
end

const node1_tests = String[]
function move_to_node1(t)
if t in tests
Expand Down

2 comments on commit fb52730

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily benchmark build, I will reply here when finished:

@nanosoldier runbenchmarks(ALL, isdaily = true)

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @ararslan

Please sign in to comment.