From 4bda7522ab62613efaa2e4f2af49b5f3de4780f4 Mon Sep 17 00:00:00 2001 From: lash Date: Wed, 20 Apr 2022 15:28:12 +0000 Subject: [PATCH] Move store tests to separate dir, run last --- run_tests.sh | 7 +++++++ tests/{test_fs.py => store/test_1_fs.py} | 0 tests/{ => store}/test_rocksdb.py | 0 3 files changed, 7 insertions(+) rename tests/{test_fs.py => store/test_1_fs.py} (100%) rename tests/{ => store}/test_rocksdb.py (100%) diff --git a/run_tests.sh b/run_tests.sh index f13bd41..a21a957 100644 --- a/run_tests.sh +++ b/run_tests.sh @@ -8,5 +8,12 @@ for f in `ls tests/*.py`; do exit fi done + +for f in `ls tests/store/*.py`; do + python $f + if [ $? -gt 0 ]; then + exit + fi +done set +x set +e diff --git a/tests/test_fs.py b/tests/store/test_1_fs.py similarity index 100% rename from tests/test_fs.py rename to tests/store/test_1_fs.py diff --git a/tests/test_rocksdb.py b/tests/store/test_rocksdb.py similarity index 100% rename from tests/test_rocksdb.py rename to tests/store/test_rocksdb.py