From a7ef3b6b3468de178c1147dfea13c727d4f35b9b Mon Sep 17 00:00:00 2001 From: Mark Spanbroek Date: Wed, 30 Jun 2021 11:26:27 +0200 Subject: [PATCH] Speed up tests --- tests/{ => abc}/alicebob.nim | 0 tests/{ => abc}/basics.nim | 0 tests/{ => abc}/examples.nim | 0 tests/abc/nim.cfg | 1 + tests/{ => abc}/testKeys.nim | 0 tests/{ => abc}/testTransactions.nim | 0 tests/{ => abc}/testTxStore.nim | 0 tests/{ => abc}/testTxValidation.nim | 0 tests/{ => abc}/testWallet.nim | 0 tests/nim.cfg | 1 - tests/testAll.nim | 7 +++++++ 11 files changed, 8 insertions(+), 1 deletion(-) rename tests/{ => abc}/alicebob.nim (100%) rename tests/{ => abc}/basics.nim (100%) rename tests/{ => abc}/examples.nim (100%) create mode 100644 tests/abc/nim.cfg rename tests/{ => abc}/testKeys.nim (100%) rename tests/{ => abc}/testTransactions.nim (100%) rename tests/{ => abc}/testTxStore.nim (100%) rename tests/{ => abc}/testTxValidation.nim (100%) rename tests/{ => abc}/testWallet.nim (100%) delete mode 100644 tests/nim.cfg create mode 100644 tests/testAll.nim diff --git a/tests/alicebob.nim b/tests/abc/alicebob.nim similarity index 100% rename from tests/alicebob.nim rename to tests/abc/alicebob.nim diff --git a/tests/basics.nim b/tests/abc/basics.nim similarity index 100% rename from tests/basics.nim rename to tests/abc/basics.nim diff --git a/tests/examples.nim b/tests/abc/examples.nim similarity index 100% rename from tests/examples.nim rename to tests/abc/examples.nim diff --git a/tests/abc/nim.cfg b/tests/abc/nim.cfg new file mode 100644 index 0000000..1c2f0c1 --- /dev/null +++ b/tests/abc/nim.cfg @@ -0,0 +1 @@ +--path:"../.." diff --git a/tests/testKeys.nim b/tests/abc/testKeys.nim similarity index 100% rename from tests/testKeys.nim rename to tests/abc/testKeys.nim diff --git a/tests/testTransactions.nim b/tests/abc/testTransactions.nim similarity index 100% rename from tests/testTransactions.nim rename to tests/abc/testTransactions.nim diff --git a/tests/testTxStore.nim b/tests/abc/testTxStore.nim similarity index 100% rename from tests/testTxStore.nim rename to tests/abc/testTxStore.nim diff --git a/tests/testTxValidation.nim b/tests/abc/testTxValidation.nim similarity index 100% rename from tests/testTxValidation.nim rename to tests/abc/testTxValidation.nim diff --git a/tests/testWallet.nim b/tests/abc/testWallet.nim similarity index 100% rename from tests/testWallet.nim rename to tests/abc/testWallet.nim diff --git a/tests/nim.cfg b/tests/nim.cfg deleted file mode 100644 index 0f840a1..0000000 --- a/tests/nim.cfg +++ /dev/null @@ -1 +0,0 @@ ---path:".." diff --git a/tests/testAll.nim b/tests/testAll.nim new file mode 100644 index 0000000..3f93f98 --- /dev/null +++ b/tests/testAll.nim @@ -0,0 +1,7 @@ +import abc/testKeys +import abc/testTransactions +import abc/testTxStore +import abc/testTxValidation +import abc/testWallet + +{.warning[UnusedImport]: off.}