Initial commit for integration tests. Experimental. Playing with potential syntax

This commit is contained in:
Borislav Stanimirov
2021-05-19 17:03:17 +03:00
parent 7cbef3efc8
commit d50daa3698
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# this test does nothing
# it's, in a way, a test of the integration testing framework
puts 'executing noop test'

View File

@@ -0,0 +1,7 @@
add_test('basic') { |prj|
prj.set_body <<~CMAKE
CPMAddPackage("gh:cpm-cmake/testpack-adder")
add_executable(using-adder using-adder.cpp)
target_link_libraries(using-adder PRIVATE adder)
CMAKE
}