Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified unit tests to use Unittest tester #38

Merged
merged 4 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions check_py_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ cd $SCRIPT_DIR

#coverage help run
SRC_DIR=`(cd src && pwd)`
if [[ "$SRC_DIR" == "/c"* ]]
then
SRC_DIR="C:${SRC_DIR:2}"
fi

# get display var
DISPLAY_VAR=`(echo $DISPLAY)`
Expand Down
4 changes: 2 additions & 2 deletions developer_tools/rook.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[rook]
add_non_default_run_types = qsub
testers_dir = HERON/src/Testers
test_dir = tests
testers_dir = HERON/src/Testers, raven/scripts/TestHarness/testers
test_dir = tests
36 changes: 18 additions & 18 deletions tests/unit_tests/tests
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
[Tests]
[./TestMinimalInput]
type = RavenPython
input = '-m unittest test_heron.TestMinimalInput'
type = Unittest
input = 'test_heron.TestMinimalInput'
[../]

[./TestExpandedInput1]
type = RavenPython
input = '-m unittest test_heron.TestExpandedInput1'
type = Unittest
input = 'test_heron.TestExpandedInput1'
[../]

[./TestExpandedInput2]
type = RavenPython
input = '-m unittest test_heron.TestExpandedInput2'
type = Unittest
input = 'test_heron.TestExpandedInput2'
[../]

[./TestNoComponentsNode]
type = RavenPython
input = '-m unittest test_heron.TestNoComponentsNode'
type = Unittest
input = 'test_heron.TestNoComponentsNode'
[../]

[./TestNoComponentNodes]
type = RavenPython
input = '-m unittest test_heron.TestNoComponentNodes'
type = Unittest
input = 'test_heron.TestNoComponentNodes'
[../]

[./TestMissingSubnodes]
type = RavenPython
input = '-m unittest test_heron.TestMissingSubnodes'
type = Unittest
input = 'test_heron.TestMissingSubnodes'
[../]

[./TestEmptyCompSetsFolder]
type = RavenPython
input = '-m unittest test_heron.TestEmptyCompSetsFolder'
type = Unittest
input = 'test_heron.TestEmptyCompSetsFolder'
[../]

[./TestCompSetsFolderWithBadJSON]
type = RavenPython
input = '-m unittest test_heron.TestCompSetsFolderWithBadJSON'
type = Unittest
input = 'test_heron.TestCompSetsFolderWithBadJSON'
[../]

[./TestCompSetsFolderMultFiles]
type = RavenPython
input = '-m unittest test_heron.TestCompSetsFolderMultFiles'
type = Unittest
input = 'test_heron.TestCompSetsFolderMultFiles'
[../]
[]
Loading