-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows for a faster workflow when developing the package. Also made a few paths in the tests explicitly relative to the test/ directory instead of the PWD (since that may not be test/ when running the tests interactively).
- Loading branch information
1 parent
bdb93d8
commit 30a2a25
Showing
7 changed files
with
58 additions
and
10 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# This is the test module for Clang.jl, intended for use by ReTest.jl. Note that | ||
# it should be loaded with ReTest.load() instead of includet() because the files | ||
# in the tests include() other files and that doesn't play well with | ||
# Revise. See: https://juliatesting.github.io/ReTest.jl/stable/#Working-with-Revise | ||
# | ||
# Just adding test/ to LOAD_PATH doesn't work because of the Project.toml file, | ||
# which makes Pkg treat the directory as a single package directory instead of a | ||
# directory containing possibly multiple modules. | ||
|
||
module ClangTests | ||
|
||
__revise_mode__ = :eval | ||
|
||
using ReTest | ||
|
||
include("generators.jl") | ||
|
||
include("test_mpi.jl") | ||
include("test_bitfield.jl") | ||
|
||
end |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
using Clang | ||
using Test | ||
import ReTest: retest | ||
import Clang | ||
|
||
include("generators.jl") | ||
include("ClangTests.jl") | ||
|
||
include("test_mpi.jl") | ||
include("test_bitfield.jl") | ||
retest(Clang, ClangTests) |
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
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