CMakeLists.txt 1.28 KB
Newer Older
Jan Möbius's avatar
Jan Möbius committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

# Include Testing package
if(BUILD_TESTING)

  # ========================================================================
  # Copy required files
  # ========================================================================
  #configure_file(${CMAKE_CURRENT_SOURCE_DIR}/CTest2JUnit.py
  #  ${CMAKE_BINARY_DIR}/tests/CTest2JUnit.py COPYONLY)


  # ========================================================================
  # ========================================================================
  # Tests
  # ========================================================================
  # ========================================================================

  # ========================================================================
  # Start OpenFlipper Headless in batch mode, to see if all plugins
  # that pretend to be scriptable without ui are correct and the core
  # can start
  # ========================================================================
23
  ADD_TEST(SmootherTest ${OPENFLIPPER_EXECUTABLE} -b -c )
Jan Möbius's avatar
Jan Möbius committed
24
25
26
27
28
29
30
31
32
33
34

  # Timeout after 60 seconds if we havean endless loop
  # Should be run serial to avoid collisons with other instances
  # Only one processor required
  set_tests_properties (
      SmootherTest PROPERTIES
      TIMEOUT 60
      RUN_SERIAL TRUE
      PROCESSORS 1
  ) 

35
36
37



Jan Möbius's avatar
Jan Möbius committed
38
endif()