[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt NONE 1.1 echoargs.c NONE 1.1

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 8 12:17:05 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/CTestTest/SmallAndFast
In directory public:/mounts/ram/cvs-serv8844/SmallAndFast

Added Files:
	CMakeLists.txt echoargs.c 
Log Message:
Reduce duration of ctest_sleep arguments. Add SmallAndFast project. Replace kwsys with SmallAndFast to make CTestTest faster. (I will keep an eye on coverage results after this commit and make sure we still have equivalent ctest coverage.)


--- NEW FILE: echoargs.c ---
#include <stdio.h>

int main(int argc, const char* argv[])
{
  int i = 0;
  for (; i<argc; ++i)
  {
    fprintf(stdout, "%s\n", argv[i]);
  }
  return 0;
}

--- NEW FILE: CMakeLists.txt ---
cmake_minimum_required(VERSION 2.8)
project(SmallAndFast)

include(CTest)

add_executable(echoargs echoargs.c)

add_test(test0 echoargs)
add_test(test1 echoargs 1)
add_test(test2 echoargs 1 2)



More information about the Cmake-commits mailing list