From 143f7fe61a22acef474cf1295b996b04775cbc97 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 8 Jun 2021 12:25:07 -0400 Subject: Tests: Remove unused RunCMake.TransformDepfile files Remove files missed by commit f0e9d74a2d (cmake_transform_depfile: Remove unused incomplete vstlog support, 2021-06-02). --- Tests/RunCMake/TransformDepfile/deps-unix.tlog.txt | 6 ------ Tests/RunCMake/TransformDepfile/deps-windows.tlog.txt | 6 ------ Tests/RunCMake/TransformDepfile/empty.tlog.txt | 0 Tests/RunCMake/TransformDepfile/invalid-tlog-result.txt | 1 - Tests/RunCMake/TransformDepfile/noexist.tlog.txt | 0 Tests/RunCMake/TransformDepfile/vstlog.cmake | 16 ---------------- 6 files changed, 29 deletions(-) delete mode 100644 Tests/RunCMake/TransformDepfile/deps-unix.tlog.txt delete mode 100644 Tests/RunCMake/TransformDepfile/deps-windows.tlog.txt delete mode 100644 Tests/RunCMake/TransformDepfile/empty.tlog.txt delete mode 100644 Tests/RunCMake/TransformDepfile/invalid-tlog-result.txt delete mode 100644 Tests/RunCMake/TransformDepfile/noexist.tlog.txt delete mode 100644 Tests/RunCMake/TransformDepfile/vstlog.cmake diff --git a/Tests/RunCMake/TransformDepfile/deps-unix.tlog.txt b/Tests/RunCMake/TransformDepfile/deps-unix.tlog.txt deleted file mode 100644 index 70bac5d..0000000 --- a/Tests/RunCMake/TransformDepfile/deps-unix.tlog.txt +++ /dev/null @@ -1,6 +0,0 @@ -^subdir/out1|/home/build/out2 -subdir/in1 -/home/build/in2 -^subdir/out3|/home/build/out4 -subdir/in3 -/home/build/in4 diff --git a/Tests/RunCMake/TransformDepfile/deps-windows.tlog.txt b/Tests/RunCMake/TransformDepfile/deps-windows.tlog.txt deleted file mode 100644 index 09f9e97..0000000 --- a/Tests/RunCMake/TransformDepfile/deps-windows.tlog.txt +++ /dev/null @@ -1,6 +0,0 @@ -^subdir\out1|C:\build\out2 -subdir\in1 -C:\build\in2 -^subdir\out3|C:\build\out4 -subdir\in3 -C:\build\in4 diff --git a/Tests/RunCMake/TransformDepfile/empty.tlog.txt b/Tests/RunCMake/TransformDepfile/empty.tlog.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Tests/RunCMake/TransformDepfile/invalid-tlog-result.txt b/Tests/RunCMake/TransformDepfile/invalid-tlog-result.txt deleted file mode 100644 index 0cfbf08..0000000 --- a/Tests/RunCMake/TransformDepfile/invalid-tlog-result.txt +++ /dev/null @@ -1 +0,0 @@ -2 diff --git a/Tests/RunCMake/TransformDepfile/noexist.tlog.txt b/Tests/RunCMake/TransformDepfile/noexist.tlog.txt deleted file mode 100644 index e69de29..0000000 diff --git a/Tests/RunCMake/TransformDepfile/vstlog.cmake b/Tests/RunCMake/TransformDepfile/vstlog.cmake deleted file mode 100644 index afa78d0..0000000 --- a/Tests/RunCMake/TransformDepfile/vstlog.cmake +++ /dev/null @@ -1,16 +0,0 @@ -if(EXISTS "${RunCMake_SOURCE_DIR}/${name}.tlog.txt") - file(READ "${RunCMake_SOURCE_DIR}/${name}.tlog.txt" expected_contents) - - if(EXISTS "${RunCMake_TEST_BINARY_DIR}/out.tlog") - file(READ "${RunCMake_TEST_BINARY_DIR}/out.tlog" actual_contents) - if(NOT actual_contents STREQUAL expected_contents) - string(REPLACE "\n" "\n " p_expected_contents "${expected_contents}") - string(REPLACE "\n" "\n " p_actual_contents "${actual_contents}") - string(APPEND RunCMake_TEST_FAILED "Expected contents of ${RunCMake_TEST_BINARY_DIR}/out.tlog:\n ${p_expected_contents}\nActual contents:\n ${p_actual_contents}") - endif() - else() - string(APPEND RunCMake_TEST_FAILED "${RunCMake_TEST_BINARY_DIR}/out.tlog should exist\n") - endif() -elseif(EXISTS "${RunCMake_TEST_BINARY_DIR}/out.tlog") - string(APPEND RunCMake_TEST_FAILED "${RunCMake_TEST_BINARY_DIR}/out.tlog should not exist\n") -endif() -- cgit v0.12