From 61c1e35181206b4305b6f57662bd9b2524c0fef8 Mon Sep 17 00:00:00 2001 From: flywind Date: Sat, 3 Apr 2021 14:17:55 +0800 Subject: [PATCH] close #14806 (#17626) * close #14806 * tiny --- tests/tools/compile/config.nims | 1 + tests/tools/compile/readme.md | 1 + tests/tools/compile/tdeps.nim | 5 +++++ tests/tools/compile/tdetect.nim | 5 +++++ 4 files changed, 12 insertions(+) create mode 100644 tests/tools/compile/config.nims create mode 100644 tests/tools/compile/readme.md create mode 100644 tests/tools/compile/tdeps.nim create mode 100644 tests/tools/compile/tdetect.nim diff --git a/tests/tools/compile/config.nims b/tests/tools/compile/config.nims new file mode 100644 index 000000000..a19545668 --- /dev/null +++ b/tests/tools/compile/config.nims @@ -0,0 +1 @@ +switch("path", "$lib/../") \ No newline at end of file diff --git a/tests/tools/compile/readme.md b/tests/tools/compile/readme.md new file mode 100644 index 000000000..cb5058e02 --- /dev/null +++ b/tests/tools/compile/readme.md @@ -0,0 +1 @@ +Test whether the tools compile. \ No newline at end of file diff --git a/tests/tools/compile/tdeps.nim b/tests/tools/compile/tdeps.nim new file mode 100644 index 000000000..971ca1b8e --- /dev/null +++ b/tests/tools/compile/tdeps.nim @@ -0,0 +1,5 @@ +discard """ + action: compile +""" + +include tools/deps diff --git a/tests/tools/compile/tdetect.nim b/tests/tools/compile/tdetect.nim new file mode 100644 index 000000000..253fc0d39 --- /dev/null +++ b/tests/tools/compile/tdetect.nim @@ -0,0 +1,5 @@ +discard """ + action: compile +""" + +include tools/detect/detect