Browse Source

Updated makefiles to exclude some tests on BSDs

Andreas T Jonsson 1 year ago
parent
commit
88528f7613
2 changed files with 31 additions and 27 deletions
  1. 27 25
      tests/core/Makefile
  2. 4 2
      tests/internal/Makefile

+ 27 - 25
tests/core/Makefile

@@ -3,30 +3,32 @@ PYTHON=$(shell which python3)
 COMMON=-vet -strict-style
 COLLECTION=-collection:tests=..
 
-all: c_libc_test \
-	 compress_test \
-	 container_test \
-	 crypto_test \
-	 download_test_assets \
-	 encoding_test \
-	 filepath_test \
-	 fmt_test \
-	 hash_test \
-	 i18n_test \
-	 image_test \
-	 linalg_glsl_math_test \
-	 match_test \
-	 math_test \
-	 net_test \
-	 noise_test \
-	 os_exit_test \
-	 reflect_test \
-	 slice_test \
-	 strings_test \
-	 thread_test \
-	 runtime_test \
-	 time_test \
-	 fmt_test
+all: all_bsd \
+     net_test
+
+all_bsd: c_libc_test \
+         compress_test \
+         container_test \
+         crypto_test \
+         download_test_assets \
+         encoding_test \
+         filepath_test \
+         fmt_test \
+         hash_test \
+         i18n_test \
+         image_test \
+         linalg_glsl_math_test \
+         match_test \
+         math_test \
+         noise_test \
+         os_exit_test \
+         reflect_test \
+         slice_test \
+         strings_test \
+         thread_test \
+         runtime_test \
+         time_test \
+         fmt_test
 
 download_test_assets:
 	$(PYTHON) download_assets.py
@@ -101,4 +103,4 @@ runtime_test:
 	$(ODIN) run runtime $(COMMON) -out:test_core_runtime
 
 time_test:
-	$(ODIN) run time $(COMMON) -out:test_core_time
+	$(ODIN) run time $(COMMON) -out:test_core_time

+ 4 - 2
tests/internal/Makefile

@@ -1,6 +1,8 @@
 ODIN=../../odin
 
-all: rtti_test map_test pow_test 128_test asan_test string_compare_test
+all: all_bsd asan_test
+
+all_bsd: rtti_test map_test pow_test 128_test string_compare_test
 
 rtti_test:
 	$(ODIN) run test_rtti.odin -file -vet -strict-style -o:minimal
@@ -18,4 +20,4 @@ asan_test:
 	$(ODIN) run test_asan.odin -file -sanitize:address -debug
 
 string_compare_test:
-	$(ODIN) run test_string_compare.odin -file -vet -strict-style -o:minimal
+	$(ODIN) run test_string_compare.odin -file -vet -strict-style -o:minimal