You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Modestas Vainius
60ee04bd10
|
13 years ago | |
---|---|---|
.. | ||
Architecture | 13 years ago | |
ArgumentExpansion | 14 years ago | |
Assembler | 14 years ago | |
BuildDepends | 13 years ago | |
BundleGeneratorTest | 15 years ago | |
BundleTest | 14 years ago | |
BundleUtilities | 13 years ago | |
CFBundleTest | 14 years ago | |
CMakeCommands/target_link_libraries | 13 years ago | |
CMakeLib | 13 years ago | |
CMakeOnly | 13 years ago | |
CMakeTestAllGenerators | 13 years ago | |
CMakeTestBadCommandLines | 15 years ago | |
CMakeTestMultipleConfigures | 15 years ago | |
CMakeTests | 13 years ago | |
COnly | 13 years ago | |
CPackComponents | 14 years ago | |
CPackComponentsForAll | 13 years ago | |
CPackTestAllGenerators | 15 years ago | |
CTestConfig | 15 years ago | |
CTestScriptMode | 15 years ago | |
CTestTest | 15 years ago | |
CTestTest2 | 14 years ago | |
CTestTestBadExe | 14 years ago | |
CTestTestChecksum | 14 years ago | |
CTestTestConfigFileInBuildDir | 13 years ago | |
CTestTestCostSerial | 14 years ago | |
CTestTestCrash | 14 years ago | |
CTestTestCycle | 14 years ago | |
CTestTestDepends | 14 years ago | |
CTestTestFailedSubmits | 14 years ago | |
CTestTestFailure | 14 years ago | |
CTestTestParallel | 14 years ago | |
CTestTestResourceLock | 14 years ago | |
CTestTestRunScript | 15 years ago | |
CTestTestScheduler | 14 years ago | |
CTestTestStopTime | 14 years ago | |
CTestTestSubdir | 14 years ago | |
CTestTestTimeout | 14 years ago | |
CTestTestUpload | 14 years ago | |
CTestTestZeroTimeout | 14 years ago | |
CheckCompilerRelatedVariables | 13 years ago | |
CommandLineTest | 15 years ago | |
CompileCommandOutput | 14 years ago | |
Complex | 13 years ago | |
ComplexOneConfig | 13 years ago | |
Contracts | 13 years ago | |
CrossCompile | 15 years ago | |
CustComDepend | 15 years ago | |
CustomCommand | 14 years ago | |
CustomCommandWorkingDirectory | 14 years ago | |
CxxOnly | 13 years ago | |
Dependency | 14 years ago | |
DocTest | 15 years ago | |
DoubleProject | 13 years ago | |
EmptyLibrary | 14 years ago | |
Environment | 15 years ago | |
ExportImport | 13 years ago | |
ExternalOBJ | 13 years ago | |
ExternalProject | 13 years ago | |
FindModulesExecuteAll | 15 years ago | |
FindPackageModeMakefileTest | 13 years ago | |
FindPackageTest | 13 years ago | |
ForceInclude | 14 years ago | |
Fortran | 13 years ago | |
FortranC | 15 years ago | |
FortranOnly | 13 years ago | |
Framework | 15 years ago | |
FunctionTest | 14 years ago | |
IPO | 15 years ago | |
IncludeDirectories | 13 years ago | |
JCTest | 15 years ago | |
Java | 13 years ago | |
Jump | 14 years ago | |
KDE4StableBranchTest | 15 years ago | |
LibName | 15 years ago | |
LinkDirectory | 15 years ago | |
LinkFlags | 15 years ago | |
LinkLanguage | 15 years ago | |
LinkLine | 16 years ago | |
LinkLineOrder | 16 years ago | |
LinkStatic | 14 years ago | |
LoadCommand | 13 years ago | |
LoadCommandOneConfig | 15 years ago | |
MFC | 13 years ago | |
MacroTest | 15 years ago | |
MakeClean | 15 years ago | |
MathTest | 16 years ago | |
MissingSourceFile | 14 years ago | |
Module | 13 years ago | |
ModuleDefinition | 13 years ago | |
NewlineArgs | 15 years ago | |
ObjC++ | 16 years ago | |
ObjectLibrary | 13 years ago | |
OutDir | 15 years ago | |
OutOfBinary | 16 years ago | |
OutOfSource | 13 years ago | |
PerConfig | 14 years ago | |
Plugin | 15 years ago | |
Policy0002 | 15 years ago | |
PolicyScope | 14 years ago | |
PreOrder | 15 years ago | |
PrecompiledHeader | 13 years ago | |
Preprocess | 13 years ago | |
Properties | 13 years ago | |
Qt4Deploy | 13 years ago | |
QtAutomoc | 13 years ago | |
ReturnTest | 15 years ago | |
RunCMake | 13 years ago | |
RuntimePath | 15 years ago | |
SBCS | 13 years ago | |
SameName | 15 years ago | |
SetLang | 15 years ago | |
Simple | 15 years ago | |
SimpleCOnly | 16 years ago | |
SimpleExclude | 16 years ago | |
SimpleInstall | 13 years ago | |
SimpleInstallS2 | 13 years ago | |
SourceGroups | 14 years ago | |
StringFileTest | 14 years ago | |
SubDir | 15 years ago | |
SubDirSpaces | 14 years ago | |
SubProject | 15 years ago | |
SwigTest | 16 years ago | |
SystemInformation | 13 years ago | |
TarTest | 15 years ago | |
TargetName | 15 years ago | |
TestDriver | 16 years ago | |
Testing | 14 years ago | |
TestsWorkingDirectory | 14 years ago | |
TryCompile | 14 years ago | |
Tutorial | 15 years ago | |
Unset | 16 years ago | |
VSExternalInclude | 13 years ago | |
VSGNUFortran | 13 years ago | |
VSMidl | 14 years ago | |
VSResource | 13 years ago | |
VariableUnusedViaSet | 14 years ago | |
VariableUnusedViaUnset | 14 years ago | |
VariableUsage | 14 years ago | |
Wrapping | 15 years ago | |
X11 | 15 years ago | |
iOSNavApp | 13 years ago | |
.NoDartCoverage | 16 years ago | |
CMakeBuildTest.cmake.in | 13 years ago | |
CMakeInstall.cmake | 14 years ago | |
CMakeLists.txt | 13 years ago | |
CMakeWizardTest.cmake | 15 years ago | |
CTestUpdateBZR.cmake.in | 15 years ago | |
CTestUpdateCVS.cmake.in | 13 years ago | |
CTestUpdateCommon.cmake | 13 years ago | |
CTestUpdateGIT.cmake.in | 14 years ago | |
CTestUpdateGIT.sh.in | 15 years ago | |
CTestUpdateHG.cmake.in | 13 years ago | |
CTestUpdateSVN.cmake.in | 13 years ago | |
CheckFortran.cmake | 14 years ago | |
EnforceConfig.cmake.in | 15 years ago | |
README | 13 years ago | |
TestInstall.sh.in | 15 years ago | |
bootstrap.bat.in | 15 years ago | |
test_clean.cmake.in | 15 years ago |
README
If you think about adding a new testcase then here is a small checklist you
can run through to find a proper place for it. Go through the list from the
beginning and stop once you find something that matches your tests needs,
i.e. if you will test a module and only need the configure mode use the
instructions from section 2, not 3.
1. Your testcase can run in CMake script mode, i.e. "cmake -P something"
Put your test in Tests/CMakeTests/ directory as a .cmake.in file. It will be
put into the test binary directory by configure_file(... @ONLY) and run from
there. Use the AddCMakeTest() macro in Tests/CMakeTests/CMakeLists.txt to add
your test to the test runs.
2. Your test needs CMake to run in configure mode, but will not build anything
This includes tests that will build something using try_compile() and friends,
but nothing that expects add_executable(), add_library(), or add_test() to run.
If the test configures the project only once and it must succeed then put it
into the Tests/CMakeOnly/ directory. Create a subdirectory named like your
test and write the CMakeLists.txt you need into that subdirectory. Use the
add_CMakeOnly_test() macro from Tests/CMakeOnly/CMakeLists.txt to add your
test to the test runs.
If the test configures the project with multiple variations and verifies
success or failure each time then put it into the Tests/RunCMake/ directory.
Read the instructions in Tests/RunCMake/CMakeLists.txt to add a test.
3. If you are testing something from the Modules directory
Put your test in the Tests/Modules/ directory. Create a subdirectory there
named after your test. Use the ADD_TEST_MACRO macro from Tests/CMakeLists.txt
to add your test to the test run. If you have put your stuff in
Tests/Modules/Foo then you call it using ADD_TEST_MACRO(Module.Foo Foo).
4. You are doing other stuff.
Find a good place ;) In doubt mail to cmake-developers@cmake.org and ask for
advise.