summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/features/_fstring_mod.zc (renamed from tests/features/fstring_mod.zc)0
-rw-r--r--tests/features/test_fstring.zc2
-rw-r--r--tests/modules/test_aliasing.zc4
-rw-r--r--tests/modules/test_modules/_math.zc (renamed from tests/modules/test_modules/math.zc)0
-rw-r--r--tests/modules/test_modules/_physics.zc (renamed from tests/modules/test_modules/physics.zc)0
-rw-r--r--tests/modules/test_modules/_simple.zc (renamed from tests/modules/test_modules/simple.zc)0
-rw-r--r--tests/modules/test_namespaced.zc4
-rwxr-xr-xtests/run_tests.sh2
8 files changed, 6 insertions, 6 deletions
diff --git a/tests/features/fstring_mod.zc b/tests/features/_fstring_mod.zc
index 78b16ef..78b16ef 100644
--- a/tests/features/fstring_mod.zc
+++ b/tests/features/_fstring_mod.zc
diff --git a/tests/features/test_fstring.zc b/tests/features/test_fstring.zc
index 3ef64a7..b2a8f36 100644
--- a/tests/features/test_fstring.zc
+++ b/tests/features/test_fstring.zc
@@ -1,4 +1,4 @@
-import "tests/features/fstring_mod.zc" as Mod;
+import "tests/features/_fstring_mod.zc" as Mod;
test "alias namespace fstring" {
// Tests that {Mod::get_val()} is parsed correctly (Mod_get_val)
diff --git a/tests/modules/test_aliasing.zc b/tests/modules/test_aliasing.zc
index 96b200c..468e558 100644
--- a/tests/modules/test_aliasing.zc
+++ b/tests/modules/test_aliasing.zc
@@ -1,6 +1,6 @@
-import { Vector as MathVec } from "./test_modules/math.zc";
-import { Vector as PhysicsVec } from "./test_modules/physics.zc";
+import { Vector as MathVec } from "./test_modules/_math.zc";
+import { Vector as PhysicsVec } from "./test_modules/_physics.zc";
test "test_selective_aliasing" {
var mv = MathVec::new(3, 4);
diff --git a/tests/modules/test_modules/math.zc b/tests/modules/test_modules/_math.zc
index be65a5c..be65a5c 100644
--- a/tests/modules/test_modules/math.zc
+++ b/tests/modules/test_modules/_math.zc
diff --git a/tests/modules/test_modules/physics.zc b/tests/modules/test_modules/_physics.zc
index ee56f7e..ee56f7e 100644
--- a/tests/modules/test_modules/physics.zc
+++ b/tests/modules/test_modules/_physics.zc
diff --git a/tests/modules/test_modules/simple.zc b/tests/modules/test_modules/_simple.zc
index ed002e2..ed002e2 100644
--- a/tests/modules/test_modules/simple.zc
+++ b/tests/modules/test_modules/_simple.zc
diff --git a/tests/modules/test_namespaced.zc b/tests/modules/test_namespaced.zc
index d2aa8cd..afc1d6c 100644
--- a/tests/modules/test_namespaced.zc
+++ b/tests/modules/test_namespaced.zc
@@ -1,6 +1,6 @@
-import "./test_modules/math.zc" as math;
-import "./test_modules/physics.zc" as physics;
+import "./test_modules/_math.zc" as math;
+import "./test_modules/_physics.zc" as physics;
test "test_namespaced_imports" {
var mv = math::Vector::new(3, 4);
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index ab2601a..b01906a 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -49,7 +49,7 @@ while read -r test_file; do
((FAILED++))
FAILED_TESTS="$FAILED_TESTS\n- $test_file"
fi
-done < <(find "$TEST_DIR" -name "*.zc" | sort)
+done < <(find "$TEST_DIR" -name "*.zc" -not -name "_*.zc" | sort)
echo "----------------------------------------"
echo "Summary:"