summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTestHardwareAllocation/cthwalloc-write-proc-good1-check.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-03 18:07:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-10-03 18:07:52 (GMT)
commit3247506662684003e19d9552ab5ce70643808f4d (patch)
tree95f9c2d0892c36249448a37d0e77ff5c4821101b /Tests/RunCMake/CTestHardwareAllocation/cthwalloc-write-proc-good1-check.cmake
parentd918b4a545fefd1593753189d83ec8590f430579 (diff)
parente9500271a3acdc0d1ee448cae5912f768491f429 (diff)
downloadCMake-3247506662684003e19d9552ab5ce70643808f4d.zip
CMake-3247506662684003e19d9552ab5ce70643808f4d.tar.gz
CMake-3247506662684003e19d9552ab5ce70643808f4d.tar.bz2
Merge topic 'ctest-hardware-allocation'
e9500271a3 Help: Add documentation for CTest hardware allocation d1f100a415 CTest: Add Json output for PROCESSES property b741ee820d Tests: Add test for CTest hardware allocation feature 3c8a5aad46 Tests: Write tests for cthwalloc helper tool 2d74e54661 Tests: Write cthwalloc helper tool e34de0691b CTest: Allocate hardware to tests aee0964851 CTest: Add bin-packing algorithm c494b2973a CTest: Add cmCTestHardwareAllocator class ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3858
Diffstat (limited to 'Tests/RunCMake/CTestHardwareAllocation/cthwalloc-write-proc-good1-check.cmake')
-rw-r--r--Tests/RunCMake/CTestHardwareAllocation/cthwalloc-write-proc-good1-check.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTestHardwareAllocation/cthwalloc-write-proc-good1-check.cmake b/Tests/RunCMake/CTestHardwareAllocation/cthwalloc-write-proc-good1-check.cmake
new file mode 100644
index 0000000..949d2d7
--- /dev/null
+++ b/Tests/RunCMake/CTestHardwareAllocation/cthwalloc-write-proc-good1-check.cmake
@@ -0,0 +1,20 @@
+cthwalloc_verify_log(
+[[begin test1
+alloc widgets 0 1
+dealloc widgets 0 1
+end test1
+begin cthwalloc-write-proc-good1
+alloc transmogrifiers calvin 1
+alloc widgets 0 2
+alloc widgets 0 1
+alloc widgets 2 2
+alloc widgets 0 1
+alloc widgets 2 2
+dealloc transmogrifiers calvin 1
+dealloc widgets 0 2
+dealloc widgets 0 1
+dealloc widgets 2 2
+dealloc widgets 0 1
+dealloc widgets 2 2
+end cthwalloc-write-proc-good1
+]])