Browse Source

Temporarily disable RTTI test on Windows.

Jeroen van Rijn 1 year ago
parent
commit
f5febb633c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tests/internal/build.bat
  2. 1 1
      tests/internal/test_rtti.odin

+ 1 - 1
tests/internal/build.bat

@@ -1,5 +1,5 @@
 @echo off
 @echo off
 set PATH_TO_ODIN==..\..\odin
 set PATH_TO_ODIN==..\..\odin
-%PATH_TO_ODIN% run test_rtti.odin -file -vet -strict-style -o:minimal || exit /b
+rem %PATH_TO_ODIN% run test_rtti.odin -file -vet -strict-style -o:minimal || exit /b
 %PATH_TO_ODIN% run test_map.odin  -file -vet -strict-style -o:minimal || exit /b
 %PATH_TO_ODIN% run test_map.odin  -file -vet -strict-style -o:minimal || exit /b
 rem -define:SEED=42
 rem -define:SEED=42

+ 1 - 1
tests/internal/test_rtti.odin

@@ -53,7 +53,7 @@ rtti_test :: proc(t: ^testing.T) {
 main :: proc() {
 main :: proc() {
 	t := testing.T{}
 	t := testing.T{}
 
 
-	rtti_test(&t)
+	mem_track_test(&t, rtti_test)
 
 
 	fmt.printf("%v/%v tests successful.\n", TEST_count - TEST_fail, TEST_count)
 	fmt.printf("%v/%v tests successful.\n", TEST_count - TEST_fail, TEST_count)
 	if TEST_fail > 0 {
 	if TEST_fail > 0 {