From 0fe88b2f4ec54b817a9dbdff5c1b999c3e8c9568 Mon Sep 17 00:00:00 2001 From: Ken MacKay Date: Tue, 1 Apr 2014 21:24:55 -0700 Subject: [PATCH] Moved tests into their own subdirectory. --- emk_rules.py | 2 ++ {ecc_test => test/ecc_test}/ecc_test.ino | 0 test/emk_rules.py | 4 ++++ test_ecdh.c => test/test_ecdh.c | 0 test_ecdsa.c => test/test_ecdsa.c | 0 5 files changed, 6 insertions(+) rename {ecc_test => test/ecc_test}/ecc_test.ino (100%) create mode 100644 test/emk_rules.py rename test_ecdh.c => test/test_ecdh.c (100%) rename test_ecdsa.c => test/test_ecdsa.c (100%) diff --git a/emk_rules.py b/emk_rules.py index a785fef..b1d76c8 100644 --- a/emk_rules.py +++ b/emk_rules.py @@ -1 +1,3 @@ c, link = emk.module("c", "link") + +emk.subdir("test") diff --git a/ecc_test/ecc_test.ino b/test/ecc_test/ecc_test.ino similarity index 100% rename from ecc_test/ecc_test.ino rename to test/ecc_test/ecc_test.ino diff --git a/test/emk_rules.py b/test/emk_rules.py new file mode 100644 index 0000000..956ccf5 --- /dev/null +++ b/test/emk_rules.py @@ -0,0 +1,4 @@ +c, link = emk.module("c", "link") +link.depdirs += [ + "$:proj:$" +] diff --git a/test_ecdh.c b/test/test_ecdh.c similarity index 100% rename from test_ecdh.c rename to test/test_ecdh.c diff --git a/test_ecdsa.c b/test/test_ecdsa.c similarity index 100% rename from test_ecdsa.c rename to test/test_ecdsa.c