From c50b7554cfd23b53107f2a2917a0be22a68b0c11 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 7 Jan 2025 07:26:39 +0100 Subject: Move readDeps function to its own file. --- test/deps_test_data/empty.d | 0 test/deps_test_data/missing_colon.d | 1 + test/deps_test_data/multiline.d | 4 ++++ test/deps_test_data/no_deps.d | 1 + test/deps_test_data/no_newline.d | 1 + test/deps_test_data/spaces.d | 1 + test/deps_test_data/trivial.d | 1 + 7 files changed, 9 insertions(+) create mode 100644 test/deps_test_data/empty.d create mode 100644 test/deps_test_data/missing_colon.d create mode 100644 test/deps_test_data/multiline.d create mode 100644 test/deps_test_data/no_deps.d create mode 100644 test/deps_test_data/no_newline.d create mode 100644 test/deps_test_data/spaces.d create mode 100644 test/deps_test_data/trivial.d (limited to 'test/deps_test_data') diff --git a/test/deps_test_data/empty.d b/test/deps_test_data/empty.d new file mode 100644 index 0000000..e69de29 diff --git a/test/deps_test_data/missing_colon.d b/test/deps_test_data/missing_colon.d new file mode 100644 index 0000000..e46996c --- /dev/null +++ b/test/deps_test_data/missing_colon.d @@ -0,0 +1 @@ +x.cc x.h diff --git a/test/deps_test_data/multiline.d b/test/deps_test_data/multiline.d new file mode 100644 index 0000000..8862ab0 --- /dev/null +++ b/test/deps_test_data/multiline.d @@ -0,0 +1,4 @@ +build/src/libctor_a-configure_cc.o: src/configure.cc src/configure.h \ + src/getoptpp/getoptpp.hpp src/execute.h src/ctor.h src/tasks.h \ + src/task.h src/rebuild.h src/externals.h src/externals_manual.h \ + src/tools.h src/util.h diff --git a/test/deps_test_data/no_deps.d b/test/deps_test_data/no_deps.d new file mode 100644 index 0000000..e7cccf6 --- /dev/null +++ b/test/deps_test_data/no_deps.d @@ -0,0 +1 @@ +x.o: diff --git a/test/deps_test_data/no_newline.d b/test/deps_test_data/no_newline.d new file mode 100644 index 0000000..88829ea --- /dev/null +++ b/test/deps_test_data/no_newline.d @@ -0,0 +1 @@ +x.o: x.cc \ No newline at end of file diff --git a/test/deps_test_data/spaces.d b/test/deps_test_data/spaces.d new file mode 100644 index 0000000..c53fd64 --- /dev/null +++ b/test/deps_test_data/spaces.d @@ -0,0 +1 @@ +x\ y.o: x\ y.cc x\ y.h diff --git a/test/deps_test_data/trivial.d b/test/deps_test_data/trivial.d new file mode 100644 index 0000000..15a0c29 --- /dev/null +++ b/test/deps_test_data/trivial.d @@ -0,0 +1 @@ +x.o: x.cc -- cgit v1.2.3