Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
fleur
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
52
Issues
52
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
fleur
fleur
Commits
d085d58b
Commit
d085d58b
authored
Jun 09, 2017
by
Daniel Wortmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed testing such that longer running tests are not performed by default
parent
6a24c247
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
tests/CMakeLists.txt
tests/CMakeLists.txt
+15
-4
No files found.
tests/CMakeLists.txt
View file @
d085d58b
enable_testing
()
set
(
Testdirs CuBulk CuBulkXML Fe_1l Fe_1lXML Fe-Atom CuBand CuBandXML CuDOS CuDOSXML Fe_bct_LO Fe_bct_LOXML Fe_bct Fe_bctXML NiO_ldau NiO_ldauXML PTO PTOXML Fe_fcc Fe_fccXML Bi2Te3 Bi2Te3XML Fe_1l_SOC Fe_1l_SOCXML PTO-SOC PTO-SOCXML Fe_bct_SOC Fe_bct_SOCXML
)
set
(
Testdirs CuBulk CuBulkXML Fe_1l Fe_1lXML Fe-Atom CuBand CuBandXML CuDOS CuDOSXML Fe_bct_LO Fe_bct_LOXML Fe_bct Fe_bctXML PTO PTOXML Fe_fcc Fe_fccXML Fe_1l_SOC Fe_1l_SOCXML PTO-SOC PTO-SOCXML Fe_bct_SOC Fe_bct_SOCXML
)
#Check if all tests (including those running for a long time) should be executed
if
(
all_tests
)
set
(
Testdirs
${
Testdirs
}
Bi2Te3 Bi2Te3XML NiO_ldau NiO_ldauXML
)
endif
()
#The serial tests
if
(
${
FLEUR_USE_SERIAL
}
)
#tests of fleur
foreach
(
test
${
Testdirs
}
)
add_test
(
"FLEUR:
${
test
}
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests/test.pl
${
test
}
"
${
CMAKE_BINARY_DIR
}
/fleur"
)
endforeach
(
test
)
...
...
@@ -11,9 +18,13 @@ endif()
#The parallel tests
if
(
${
FLEUR_USE_MPI
}
)
#tests of fleur
if
(
MPIEXEC
)
set
(
mpi_exec
"
${
MPIEXEC
}
${
MPI_NUMPROC_FLAGS
}
2"
)
else
()
set
(
mpi_exec
"mpirun -n 2"
)
endif
()
foreach
(
test
${
Testdirs
}
)
add_test
(
"FLEUR_MPI:
${
test
}
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests/test.pl
${
test
}
"
${
CMAKE_BINARY_DIR
}
/fleur_MPI"
"
${
MPIEXEC
}
${
MPI_NUMPROC_FLAGS
}
2
"
)
${
test
}
"
${
CMAKE_BINARY_DIR
}
/fleur_MPI"
"
${
mpi_exec
}
"
)
endforeach
(
test
)
endif
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment