2015-07-30 00:39:11 +03:00
|
|
|
set(whitespaces_ "[\t\n\r ]*")
|
|
|
|
|
|
|
|
set(EXPECTED_FILES_COUNT "5")
|
2016-05-23 20:51:33 +03:00
|
|
|
set(EXPECTED_FILE_1 "dependencies-0.1.1-*-applications.deb")
|
2015-07-30 00:39:11 +03:00
|
|
|
set(EXPECTED_FILE_CONTENT_1 "^.*/usr/foo${whitespaces_}.*/usr/foo/test_prog$")
|
2016-05-23 20:51:33 +03:00
|
|
|
set(EXPECTED_FILE_2 "dependencies-0.1.1-*-applications_auto.deb")
|
2015-07-30 00:39:11 +03:00
|
|
|
set(EXPECTED_FILE_CONTENT_2 "^.*/usr/foo_auto${whitespaces_}.*/usr/foo_auto/test_prog$")
|
2016-05-23 20:51:33 +03:00
|
|
|
set(EXPECTED_FILE_3 "dependencies-0.1.1-*-headers.deb")
|
2015-07-30 00:39:11 +03:00
|
|
|
set(EXPECTED_FILE_CONTENT_3 "^.*/usr/bar${whitespaces_}.*/usr/bar/CMakeLists.txt$")
|
2016-05-23 20:51:33 +03:00
|
|
|
set(EXPECTED_FILE_4 "dependencies-0.1.1-*-libs.deb")
|
2015-07-30 00:39:11 +03:00
|
|
|
# dynamic lib extension is .so on Linux and .dylib on Mac so we will use a wildcard .* for it
|
|
|
|
set(EXPECTED_FILE_CONTENT_4 "^.*/usr/bas${whitespaces_}.*/usr/bas/libtest_lib\\..*$")
|
2016-05-23 20:51:33 +03:00
|
|
|
set(EXPECTED_FILE_5 "dependencies-0.1.1-*-libs_auto.deb")
|
2015-07-30 00:39:11 +03:00
|
|
|
set(EXPECTED_FILE_CONTENT_5 "^.*/usr/bas_auto${whitespaces_}.*/usr/bas_auto/libtest_lib\\..*$")
|