Salome HOME
[For eval] add image comparison
[modules/paravis.git] / test / VisuPrs / ScalarMap / CTestTestfileInstall.cmake
index dd62a34c8b73684b225163de85d6b9c2e874a3e7..098a944fa3ecc9e6eab756372e8840976e4085c7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2016  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-SET(TEST_NAMES A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 B0 B1 B2 B3 E0 E1 E2 E3 E4 E5 E6 E7 E8 E9
-  F1 F2 F3 F4 F5 F6 F7 F8 F9 G0 G1 G2)
+INCLUDE(tests.set)
 
-FOREACH(tfile ${TEST_NAMES})
-  SET(TEST_NAME SCALARMAP_${tfile})
-  ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
-  SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
-ENDFOREACH()
+DEFINE_PARAVIS_TEST("${BASE_TESTS}" SCALARMAP BASE)
+DEFINE_PARAVIS_TEST("${EXTRA_TESTS}" SCALARMAP EXTRA)