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
9885828817
|
12 years ago | |
---|---|---|
.. | ||
Architecture | 13 years ago | |
ArgumentExpansion | 12 years ago | |
Assembler | 12 years ago | |
BuildDepends | 12 years ago | |
BundleGeneratorTest | 12 years ago | |
BundleTest | 12 years ago | |
BundleUtilities | 12 years ago | |
CFBundleTest | 14 years ago | |
CMakeCommands | 12 years ago | |
CMakeLib | 13 years ago | |
CMakeOnly | 12 years ago | |
CMakeTestAllGenerators | 13 years ago | |
CMakeTestBadCommandLines | 15 years ago | |
CMakeTestMultipleConfigures | 12 years ago | |
CMakeTests | 12 years ago | |
COnly | 12 years ago | |
CPackComponents | 12 years ago | |
CPackComponentsForAll | 12 years ago | |
CPackTestAllGenerators | 12 years ago | |
CPackWiXGenerator | 12 years ago | |
CTestConfig | 12 years ago | |
CTestLimitDashJ | 12 years ago | |
CTestScriptMode | 12 years ago | |
CTestTest | 12 years ago | |
CTestTest2 | 12 years ago | |
CTestTestBadExe | 12 years ago | |
CTestTestChecksum | 12 years ago | |
CTestTestConfigFileInBuildDir | 12 years ago | |
CTestTestCostSerial | 12 years ago | |
CTestTestCrash | 12 years ago | |
CTestTestCycle | 12 years ago | |
CTestTestDepends | 12 years ago | |
CTestTestFailedSubmits | 12 years ago | |
CTestTestFailure | 12 years ago | |
CTestTestMemcheck | 12 years ago | |
CTestTestParallel | 12 years ago | |
CTestTestResourceLock | 12 years ago | |
CTestTestRunScript | 12 years ago | |
CTestTestScheduler | 12 years ago | |
CTestTestStopTime | 12 years ago | |
CTestTestSubdir | 12 years ago | |
CTestTestTimeout | 12 years ago | |
CTestTestUpload | 12 years ago | |
CTestTestZeroTimeout | 12 years ago | |
CheckCompilerRelatedVariables | 12 years ago | |
CommandLineTest | 12 years ago | |
CompatibleInterface | 12 years ago | |
CompileCommandOutput | 12 years ago | |
CompileDefinitions | 12 years ago | |
Complex | 12 years ago | |
ComplexOneConfig | 12 years ago | |
Contracts | 12 years ago | |
CrossCompile | 12 years ago | |
CustComDepend | 12 years ago | |
CustomCommand | 12 years ago | |
CustomCommandWorkingDirectory | 12 years ago | |
CxxOnly | 13 years ago | |
Dependency | 12 years ago | |
DocTest | 12 years ago | |
DoubleProject | 13 years ago | |
EmptyDepends | 12 years ago | |
EmptyLibrary | 14 years ago | |
Environment | 15 years ago | |
ExportImport | 12 years ago | |
ExternalOBJ | 12 years ago | |
ExternalProject | 12 years ago | |
ExternalProjectUpdate | 12 years ago | |
FindModulesExecuteAll | 12 years ago | |
FindPackageModeMakefileTest | 13 years ago | |
FindPackageTest | 12 years ago | |
ForceInclude | 14 years ago | |
Fortran | 12 years ago | |
FortranC | 12 years ago | |
FortranOnly | 13 years ago | |
Framework | 12 years ago | |
FunctionTest | 12 years ago | |
GeneratorExpression | 12 years ago | |
IPO | 12 years ago | |
IncludeDirectories | 12 years ago | |
JCTest | 12 years ago | |
Java | 12 years ago | |
Jump | 12 years ago | |
LibName | 12 years ago | |
LinkDirectory | 15 years ago | |
LinkFlags | 15 years ago | |
LinkLanguage | 15 years ago | |
LinkLine | 12 years ago | |
LinkLineOrder | 12 years ago | |
LinkStatic | 14 years ago | |
LoadCommand | 12 years ago | |
LoadCommandOneConfig | 12 years ago | |
MFC | 13 years ago | |
MacroTest | 12 years ago | |
MakeClean | 12 years ago | |
MathTest | 12 years ago | |
MissingSourceFile | 14 years ago | |
Module | 12 years ago | |
ModuleDefinition | 13 years ago | |
MumpsCoverage | 13 years ago | |
NewlineArgs | 12 years ago | |
ObjC++ | 12 years ago | |
ObjectLibrary | 12 years ago | |
OutDir | 15 years ago | |
OutOfBinary | 12 years ago | |
OutOfSource | 12 years ago | |
PDBDirectoryAndName | 12 years ago | |
PerConfig | 12 years ago | |
Plugin | 12 years ago | |
Policy0002 | 15 years ago | |
PolicyScope | 12 years ago | |
PositionIndependentTargets | 13 years ago | |
PreOrder | 12 years ago | |
PrecompiledHeader | 12 years ago | |
Preprocess | 12 years ago | |
Properties | 12 years ago | |
Qt4Deploy | 13 years ago | |
Qt4Targets | 12 years ago | |
QtAutomoc | 12 years ago | |
QtAutomocNoQt | 12 years ago | |
ReturnTest | 12 years ago | |
RunCMake | 12 years ago | |
RuntimePath | 12 years ago | |
SBCS | 13 years ago | |
SameName | 12 years ago | |
SetLang | 12 years ago | |
Simple | 12 years ago | |
SimpleCOnly | 12 years ago | |
SimpleExclude | 12 years ago | |
SimpleInstall | 12 years ago | |
SimpleInstallS2 | 12 years ago | |
SourceGroups | 12 years ago | |
StringFileTest | 12 years ago | |
SubDir | 12 years ago | |
SubDirSpaces | 12 years ago | |
SubProject | 15 years ago | |
SwigTest | 12 years ago | |
SystemInformation | 12 years ago | |
TarTest | 12 years ago | |
TargetName | 12 years ago | |
TestDriver | 12 years ago | |
Testing | 12 years ago | |
TestsWorkingDirectory | 14 years ago | |
TryCompile | 12 years ago | |
Tutorial | 12 years ago | |
Unset | 12 years ago | |
VSExcludeFromDefaultBuild | 12 years ago | |
VSExternalInclude | 12 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 | 12 years ago | |
X11 | 12 years ago | |
iOSNavApp | 13 years ago | |
.NoDartCoverage | 16 years ago | |
CMakeBuildTest.cmake.in | 12 years ago | |
CMakeInstall.cmake | 14 years ago | |
CMakeLists.txt | 12 years ago | |
CMakeWizardTest.cmake | 15 years ago | |
CTestUpdateBZR.cmake.in | 12 years ago | |
CTestUpdateCVS.cmake.in | 12 years ago | |
CTestUpdateCommon.cmake | 12 years ago | |
CTestUpdateGIT.cmake.in | 12 years ago | |
CTestUpdateGIT.sh.in | 15 years ago | |
CTestUpdateHG.cmake.in | 12 years ago | |
CTestUpdateSVN.cmake.in | 12 years ago | |
CheckFortran.cmake | 14 years ago | |
EnforceConfig.cmake.in | 12 years ago | |
README | 13 years ago | |
RegexEscapeString.cmake | 12 years ago | |
TestInstall.sh.in | 15 years ago | |
bootstrap.bat.in | 15 years ago | |
test_clean.cmake.in | 12 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.