Ticket #6263 (closed: fixed)

Opened 8 years ago

Last modified 5 years ago

Separate Python tests within ctest

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: major Milestone: Release 2.4
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: #6264 Tester: Jose Borreguero

Description

The fact that they are run as a whole package is left over from when mantidsimple was a file. The tests should be separated. This will make it easier to tidy up the test directory in PythonInterface.

Change History

comment:1 Changed 8 years ago by Martyn Gigg

  • Blocking 6264 added

comment:2 Changed 8 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:3 Changed 8 years ago by Martyn Gigg

Separate out PythonInterface tests within ctest. Refs #6263

Changeset: 54b3849c4572abe95f32991fbea56f7d2af82382

comment:4 Changed 8 years ago by Martyn Gigg

Revert "Separate out PythonInterface tests within ctest. Refs #6263"

Python 2.6 doesn't have the discover module. This reverts commit 54b3849c4572abe95f32991fbea56f7d2af82382.

Changeset: 99818a4b50f217b993aec69c8a403038f3af51c0

comment:5 Changed 8 years ago by Martyn Gigg

Fix separation of Python ctest tests. Refs #6263

Each file will require the main check at the bottom.

Changeset: c08c5fb6dfe96c0e5a5407e8d4a6a65b72b823a9

comment:6 Changed 8 years ago by Martyn Gigg

Limit test configurations for windows. Refs #6263

Changeset: cf7d96e23f1c0f1d37872cb9b0123879885b2df1

comment:7 Changed 8 years ago by Martyn Gigg

Separate other Python unit tests. Refs #6263

Changeset: 5ff980bc77ef2796a10d9bdcccf2d396112785f5

comment:8 Changed 8 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

Tester: There should no longer be a target to be built called VanillaPythonTest or VanillaPythonInterfaceTest. Check that the Python tests can be run individually through ctest, i.e.

  ctest [-C Release|Debug] -R V3DTest

where the bracket parts are needed for windows. This for example should run the C++ test from Kernel and the python interface test.

comment:9 Changed 8 years ago by Martyn Gigg

  • Status changed from verify to reopened
  • Resolution fixed deleted

comment:10 Changed 8 years ago by Martyn Gigg

Use Unix-style path separator in cmake. Refs #6263

Changeset: a244d4a8290ba2a090a21e9a344b151d9a7a9fcc

comment:11 Changed 8 years ago by Martyn Gigg

Escape semicolons on windows. Refs #6263

Changeset: b4a522e73fa0c7ab22020f477ad1a9606ea868bb

comment:12 Changed 8 years ago by Martyn Gigg

Remove old pyunittest macro and switch names. Refs #6263

Changeset: ddb803419fdad2bc9acf0ecd2760b460aafd61f7

comment:13 Changed 8 years ago by Martyn Gigg

Update python_export_maker for new structure. Refs #6263

Changeset: 9e38a01393a80b0536b9302cf6d0d2c98fd0d57d

comment:14 Changed 8 years ago by Martyn Gigg

  • Status changed from reopened to accepted

comment:15 Changed 8 years ago by Martyn Gigg

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:16 Changed 8 years ago by Martyn Gigg

Separate out PythonInterface tests within ctest. Refs #6263

Changeset: 54b3849c4572abe95f32991fbea56f7d2af82382

comment:17 Changed 8 years ago by Martyn Gigg

Revert "Separate out PythonInterface tests within ctest. Refs #6263"

Python 2.6 doesn't have the discover module. This reverts commit 54b3849c4572abe95f32991fbea56f7d2af82382.

Changeset: 99818a4b50f217b993aec69c8a403038f3af51c0

comment:18 Changed 8 years ago by Martyn Gigg

Fix separation of Python ctest tests. Refs #6263

Each file will require the main check at the bottom.

Changeset: c08c5fb6dfe96c0e5a5407e8d4a6a65b72b823a9

comment:19 Changed 8 years ago by Martyn Gigg

Limit test configurations for windows. Refs #6263

Changeset: cf7d96e23f1c0f1d37872cb9b0123879885b2df1

comment:20 Changed 8 years ago by Martyn Gigg

Separate other Python unit tests. Refs #6263

Changeset: 5ff980bc77ef2796a10d9bdcccf2d396112785f5

comment:21 Changed 8 years ago by Martyn Gigg

Use Unix-style path separator in cmake. Refs #6263

Changeset: a244d4a8290ba2a090a21e9a344b151d9a7a9fcc

comment:22 Changed 8 years ago by Martyn Gigg

Escape semicolons on windows. Refs #6263

Changeset: b4a522e73fa0c7ab22020f477ad1a9606ea868bb

comment:23 Changed 8 years ago by Martyn Gigg

Remove old pyunittest macro and switch names. Refs #6263

Changeset: ddb803419fdad2bc9acf0ecd2760b460aafd61f7

comment:24 Changed 8 years ago by Martyn Gigg

Update python_export_maker for new structure. Refs #6263

Changeset: 9e38a01393a80b0536b9302cf6d0d2c98fd0d57d

comment:25 Changed 8 years ago by Jose Borreguero

  • Status changed from verify to verifying
  • Tester set to Jose Borreguero

comment:26 Changed 8 years ago by Jose Borreguero

  • Status changed from verifying to closed

comment:27 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 7109

Note: See TracTickets for help on using tickets.