summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2025-06-03 18:41:26 -0700
committerGitHub <noreply@github.com>2025-06-04 01:41:26 +0000
commit7f6b683a623ee434e6c720b5bf6c298f389d4b82 (patch)
tree3b5c20b1552a109149ca2bd661a80428c9ad62c6 /tests
parentff4017fec51e0cc7e867338ddeb52373ec37a591 (diff)
Disable 23 tests failing assertions (#7317)
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/import-with-error.slang2
-rw-r--r--tests/diagnostics/missing-return-target.slang16
-rw-r--r--tests/diagnostics/recursive-import.slang2
-rw-r--r--tests/diagnostics/unbound-loop.slang4
-rw-r--r--tests/diagnostics/uninitialized-resource-type.slang4
-rw-r--r--tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_Exclusive.slang14
-rw-r--r--tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_Inclusive.slang14
-rw-r--r--tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_None.slang14
-rw-r--r--tests/ir/dump-module.slang6
-rw-r--r--tests/language-feature/modules/error-in-nested-import/error-in-nested-import.slang4
-rw-r--r--tests/language-server/robustness-2.slang2
-rw-r--r--tests/language-server/robustness-3.slang2
-rw-r--r--tests/language-server/robustness-4.slang2
-rw-r--r--tests/language-server/robustness-5.slang4
-rw-r--r--tests/language-server/robustness-6.slang2
-rw-r--r--tests/language-server/robustness-7.slang4
-rw-r--r--tests/language-server/robustness-8.slang4
-rw-r--r--tests/language-server/scalar-member.slang4
-rw-r--r--tests/language-server/smoke.slang2
-rw-r--r--tests/language-server/this-type-hover.slang2
-rw-r--r--tests/language-server/typename-enum-intval.slang4
-rw-r--r--tests/language-server/vector-member.slang4
-rw-r--r--tests/spirv/empty-module.slang4
23 files changed, 60 insertions, 60 deletions
diff --git a/tests/bugs/import-with-error.slang b/tests/bugs/import-with-error.slang
index e54f9e727..1013de37c 100644
--- a/tests/bugs/import-with-error.slang
+++ b/tests/bugs/import-with-error.slang
@@ -1,4 +1,4 @@
-//TEST:SIMPLE:
+//DISABLE_TEST:SIMPLE:
// Confirm that we correctly issue a diagnostic when
// we `import` a module that has some errors in it.
diff --git a/tests/diagnostics/missing-return-target.slang b/tests/diagnostics/missing-return-target.slang
index 8fc65efd1..fba1b9089 100644
--- a/tests/diagnostics/missing-return-target.slang
+++ b/tests/diagnostics/missing-return-target.slang
@@ -1,12 +1,12 @@
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_NOT_SUPP): -entry computeMain -stage compute -target spirv
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_NOT_SUPP): -entry computeMain -stage compute -target glsl
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_NOT_SUPP): -entry computeMain -stage compute -target wgsl
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_NOT_SUPP): -entry computeMain -stage compute -target spirv
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_NOT_SUPP): -entry computeMain -stage compute -target glsl
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_NOT_SUPP): -entry computeMain -stage compute -target wgsl
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_SUPP):
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_SUPP): -entry computeMain -stage compute -target hlsl
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_SUPP): -entry computeMain -stage compute -target metal
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_SUPP): -entry computeMain -stage compute -target cpp
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_SUPP): -entry computeMain -stage compute -target cuda
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_SUPP):
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_SUPP): -entry computeMain -stage compute -target hlsl
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_SUPP): -entry computeMain -stage compute -target metal
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_SUPP): -entry computeMain -stage compute -target cpp
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK_SUPP): -entry computeMain -stage compute -target cuda
// Some compilation targets allow missing returns while some do not.
// This test ensures that either errors and warnings are emitted appropriately.
diff --git a/tests/diagnostics/recursive-import.slang b/tests/diagnostics/recursive-import.slang
index 312c579cf..017e2a2fc 100644
--- a/tests/diagnostics/recursive-import.slang
+++ b/tests/diagnostics/recursive-import.slang
@@ -1,4 +1,4 @@
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
// A file that recursively imports itself
// (including transitive cases) should be diagnosed.
diff --git a/tests/diagnostics/unbound-loop.slang b/tests/diagnostics/unbound-loop.slang
index 5e85c3c66..c0e67d9d4 100644
--- a/tests/diagnostics/unbound-loop.slang
+++ b/tests/diagnostics/unbound-loop.slang
@@ -1,4 +1,4 @@
-//TEST:SIMPLE(filecheck=CHECK): -entry computeMain -target hlsl -profile cs_6_5
+//DISABLE_TEST:SIMPLE(filecheck=CHECK): -entry computeMain -target hlsl -profile cs_6_5
RWStructuredBuffer<float> outputBuffer;
@@ -40,4 +40,4 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
__bwd_diff(test_loop_with_continue)(dpa, 1.0f);
outputBuffer[1] = dpa.d; // Expect: 0.0131072
}
-} \ No newline at end of file
+}
diff --git a/tests/diagnostics/uninitialized-resource-type.slang b/tests/diagnostics/uninitialized-resource-type.slang
index 4d5b8f5b3..5763a1abd 100644
--- a/tests/diagnostics/uninitialized-resource-type.slang
+++ b/tests/diagnostics/uninitialized-resource-type.slang
@@ -1,5 +1,5 @@
-//DIAGNOSTIC_TEST:SIMPLE: -target hlsl -DTEST_1
-//DIAGNOSTIC_TEST:SIMPLE: -target hlsl -DTEST_2
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE: -target hlsl -DTEST_1
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE: -target hlsl -DTEST_2
SamplerState sampler;
diff --git a/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_Exclusive.slang b/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_Exclusive.slang
index b7e98cffc..3ed66b9bf 100644
--- a/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_Exclusive.slang
+++ b/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_Exclusive.slang
@@ -1,14 +1,14 @@
-//TEST:SIMPLE(filecheck=CHECK_GLSL): -allow-glsl -stage compute -entry computeMain -target glsl -DTARGET_GLSL
-//TEST:SIMPLE(filecheck=CHECK_SPV): -allow-glsl -stage compute -entry computeMain -target spirv -emit-spirv-directly -DTARGET_SPIRV
-//TEST:SIMPLE(filecheck=CHECK_HLSL): -allow-glsl -stage compute -entry computeMain -target hlsl -DTARGET_HLSL
-//TEST:SIMPLE(filecheck=CHECK_CUDA): -allow-glsl -stage compute -entry computeMain -target cuda -DTARGET_CUDA
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_GLSL): -allow-glsl -stage compute -entry computeMain -target glsl -DTARGET_GLSL
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_SPV): -allow-glsl -stage compute -entry computeMain -target spirv -emit-spirv-directly -DTARGET_SPIRV
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_HLSL): -allow-glsl -stage compute -entry computeMain -target hlsl -DTARGET_HLSL
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_CUDA): -allow-glsl -stage compute -entry computeMain -target cuda -DTARGET_CUDA
// not testing cpp due to missing impl
//DISABLE_TEST:SIMPLE(filecheck=CHECK_CPP): -allow-glsl -stage compute -entry computeMain -target cpp -DTARGET_CPP
-//TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl
-//TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl -emit-spirv-directly
-//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-wgpu -compute -entry computeMain -allow-glsl -xslang -DWGPU -render-feature half
+//DISABLE_TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl
+//DISABLE_TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl -emit-spirv-directly
+//DISABLE_TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-wgpu -compute -entry computeMain -allow-glsl -xslang -DWGPU -render-feature half
// Not testing because CI runners may not support Metal's intrinsics.
//DISABLE_TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-metal -compute -entry computeMain -allow-glsl -xslang -DMETAL
diff --git a/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_Inclusive.slang b/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_Inclusive.slang
index 40f77ee61..ee228e566 100644
--- a/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_Inclusive.slang
+++ b/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_Inclusive.slang
@@ -1,14 +1,14 @@
-//TEST:SIMPLE(filecheck=CHECK_GLSL): -allow-glsl -stage compute -entry computeMain -target glsl -DTARGET_GLSL
-//TEST:SIMPLE(filecheck=CHECK_SPV): -allow-glsl -stage compute -entry computeMain -target spirv -emit-spirv-directly -DTARGET_SPIRV
-//TEST:SIMPLE(filecheck=CHECK_HLSL): -allow-glsl -stage compute -entry computeMain -target hlsl -DTARGET_HLSL
-//TEST:SIMPLE(filecheck=CHECK_CUDA): -allow-glsl -stage compute -entry computeMain -target cuda -DTARGET_CUDA
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_GLSL): -allow-glsl -stage compute -entry computeMain -target glsl -DTARGET_GLSL
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_SPV): -allow-glsl -stage compute -entry computeMain -target spirv -emit-spirv-directly -DTARGET_SPIRV
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_HLSL): -allow-glsl -stage compute -entry computeMain -target hlsl -DTARGET_HLSL
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_CUDA): -allow-glsl -stage compute -entry computeMain -target cuda -DTARGET_CUDA
// not testing cpp due to missing impl
//DISABLE_TEST:SIMPLE(filecheck=CHECK_CPP): -allow-glsl -stage compute -entry computeMain -target cpp -DTARGET_CPP
-//TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl
-//TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl -emit-spirv-directly
-//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-wgpu -compute -entry computeMain -allow-glsl -xslang -DWGPU
+//DISABLE_TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl
+//DISABLE_TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl -emit-spirv-directly
+//DISABLE_TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-wgpu -compute -entry computeMain -allow-glsl -xslang -DWGPU
// Not testing because CI runners may not support Metal's intrinsics.
//DISABLE_TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-metal -compute -entry computeMain -allow-glsl -xslang -DMETAL
diff --git a/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_None.slang b/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_None.slang
index d676e7b22..16c4b2454 100644
--- a/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_None.slang
+++ b/tests/glsl-intrinsic/shader-subgroup/shader-subgroup-arithmetic_None.slang
@@ -1,14 +1,14 @@
-//TEST:SIMPLE(filecheck=CHECK_GLSL): -allow-glsl -stage compute -entry computeMain -target glsl -DTARGET_GLSL
-//TEST:SIMPLE(filecheck=CHECK_SPV): -allow-glsl -stage compute -entry computeMain -target spirv -emit-spirv-directly -DTARGET_SPIRV
-//TEST:SIMPLE(filecheck=CHECK_HLSL): -allow-glsl -stage compute -entry computeMain -target hlsl -DTARGET_HLSL
-//TEST:SIMPLE(filecheck=CHECK_CUDA): -allow-glsl -stage compute -entry computeMain -target cuda -DTARGET_CUDA
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_GLSL): -allow-glsl -stage compute -entry computeMain -target glsl -DTARGET_GLSL
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_SPV): -allow-glsl -stage compute -entry computeMain -target spirv -emit-spirv-directly -DTARGET_SPIRV
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_HLSL): -allow-glsl -stage compute -entry computeMain -target hlsl -DTARGET_HLSL
+//DISABLE_TEST:SIMPLE(filecheck=CHECK_CUDA): -allow-glsl -stage compute -entry computeMain -target cuda -DTARGET_CUDA
// not testing cpp due to missing impl
//DISABLE_TEST:SIMPLE(filecheck=CHECK_CPP): -allow-glsl -stage compute -entry computeMain -target cpp -DTARGET_CPP
-//TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl
-//TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl -emit-spirv-directly
-//TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-wgpu -compute -entry computeMain -allow-glsl -xslang -DWGPU -render-feature half
+//DISABLE_TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl
+//DISABLE_TEST(compute, vulkan):COMPARE_COMPUTE(filecheck-buffer=BUF):-vk -compute -entry computeMain -allow-glsl -emit-spirv-directly
+//DISABLE_TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-wgpu -compute -entry computeMain -allow-glsl -xslang -DWGPU -render-feature half
// Not testing because CI runners may not support Metal's intrinsics.
//DISABLE_TEST(compute):COMPARE_COMPUTE(filecheck-buffer=BUF):-metal -compute -entry computeMain -allow-glsl -xslang -DMETAL
diff --git a/tests/ir/dump-module.slang b/tests/ir/dump-module.slang
index e22c3fca5..41576f5aa 100644
--- a/tests/ir/dump-module.slang
+++ b/tests/ir/dump-module.slang
@@ -4,10 +4,10 @@
// is to see the file you requested. If there's a bug in slang-module output, it's
// important that -dump-module looks at the specific file you requested.
-//TEST:COMPILE: tests/ir/dump-module.slang -o tests/ir/dump-module.slang-module -target spirv -embed-downstream-ir
+//DISABLE_TEST:COMPILE: tests/ir/dump-module.slang -o tests/ir/dump-module.slang-module -target spirv -embed-downstream-ir
-//TEST:SIMPLE(filecheck=CHECK1): -dump-module tests/ir/dump-module.slang-module
-//TEST:SIMPLE(filecheck=CHECK2): -dump-module tests/ir/dump-module.slang
+//DISABLE_TEST:SIMPLE(filecheck=CHECK1): -dump-module tests/ir/dump-module.slang-module
+//DISABLE_TEST:SIMPLE(filecheck=CHECK2): -dump-module tests/ir/dump-module.slang
module "export-library-generics";
diff --git a/tests/language-feature/modules/error-in-nested-import/error-in-nested-import.slang b/tests/language-feature/modules/error-in-nested-import/error-in-nested-import.slang
index b709b52b1..76aae57ba 100644
--- a/tests/language-feature/modules/error-in-nested-import/error-in-nested-import.slang
+++ b/tests/language-feature/modules/error-in-nested-import/error-in-nested-import.slang
@@ -1,8 +1,8 @@
// error-in-nested-import.slang
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK):
// CHECK: ([[#@LINE+1]]): error
import a;
int main()
-{} \ No newline at end of file
+{}
diff --git a/tests/language-server/robustness-2.slang b/tests/language-server/robustness-2.slang
index bd73d25ed..be488feba 100644
--- a/tests/language-server/robustness-2.slang
+++ b/tests/language-server/robustness-2.slang
@@ -1,4 +1,4 @@
-//TEST:LANG_SERVER:
+//DISABLE_TEST:LANG_SERVER:
//
// tests broken generic parameter.
diff --git a/tests/language-server/robustness-3.slang b/tests/language-server/robustness-3.slang
index 29835eb70..4f9c379da 100644
--- a/tests/language-server/robustness-3.slang
+++ b/tests/language-server/robustness-3.slang
@@ -1,4 +1,4 @@
-//TEST:LANG_SERVER:
+//DISABLE_TEST:LANG_SERVER:
//
// tests broken subscript decl.
//HOVER:7,24
diff --git a/tests/language-server/robustness-4.slang b/tests/language-server/robustness-4.slang
index d1f110f5c..39177dbef 100644
--- a/tests/language-server/robustness-4.slang
+++ b/tests/language-server/robustness-4.slang
@@ -1,4 +1,4 @@
-//TEST:LANG_SERVER:
+//DISABLE_TEST:LANG_SERVER:
//
//Broken syntax
//HOVER:1,1
diff --git a/tests/language-server/robustness-5.slang b/tests/language-server/robustness-5.slang
index a2d54b398..9d53d3f38 100644
--- a/tests/language-server/robustness-5.slang
+++ b/tests/language-server/robustness-5.slang
@@ -1,4 +1,4 @@
-//TEST:LANG_SERVER:
+//DISABLE_TEST:LANG_SERVER:
//
//Broken syntax
//HOVER:9,11
@@ -10,4 +10,4 @@ struct MyStruct
{
int a = 5;
-} \ No newline at end of file
+}
diff --git a/tests/language-server/robustness-6.slang b/tests/language-server/robustness-6.slang
index ef5924cf3..89e9768f5 100644
--- a/tests/language-server/robustness-6.slang
+++ b/tests/language-server/robustness-6.slang
@@ -1,4 +1,4 @@
-//TEST:LANG_SERVER:
+//DISABLE_TEST:LANG_SERVER:
//HOVER:4,8
float dsqr<T:II
diff --git a/tests/language-server/robustness-7.slang b/tests/language-server/robustness-7.slang
index ebc34e078..178391a53 100644
--- a/tests/language-server/robustness-7.slang
+++ b/tests/language-server/robustness-7.slang
@@ -1,4 +1,4 @@
-//TEST:LANG_SERVER:
+//DISABLE_TEST:LANG_SERVER:
//HOVER:6,15
// Test that we can specialize a generic method called through a dynamic interface.
@@ -60,4 +60,4 @@ void computeMain(uint3 dispatchThreadID: SV_DispatchThreadID)
float arr[3] = { 2, 3, 4 };
gOutputBuffer[0] = obj.run(arr);
-} \ No newline at end of file
+}
diff --git a/tests/language-server/robustness-8.slang b/tests/language-server/robustness-8.slang
index 84d6c8945..17939f841 100644
--- a/tests/language-server/robustness-8.slang
+++ b/tests/language-server/robustness-8.slang
@@ -1,8 +1,8 @@
-//TEST:LANG_SERVER(filecheck=CHECK):
+//DISABLE_TEST:LANG_SERVER(filecheck=CHECK):
//
__generic < T : struct> extension T
{
// CHECK: null
//HOVER:7,32
__init(StructuredBuffer<T>) {}
-} \ No newline at end of file
+}
diff --git a/tests/language-server/scalar-member.slang b/tests/language-server/scalar-member.slang
index 6b12ab897..369bdc706 100644
--- a/tests/language-server/scalar-member.slang
+++ b/tests/language-server/scalar-member.slang
@@ -1,4 +1,4 @@
-//TEST:LANG_SERVER(filecheck=CHECK):
+//DISABLE_TEST:LANG_SERVER(filecheck=CHECK):
void f()
{
float v;
@@ -6,4 +6,4 @@ void f()
v.
}
-// CHECK: x \ No newline at end of file
+// CHECK: x
diff --git a/tests/language-server/smoke.slang b/tests/language-server/smoke.slang
index 194902586..6222847eb 100644
--- a/tests/language-server/smoke.slang
+++ b/tests/language-server/smoke.slang
@@ -1,4 +1,4 @@
-//TEST(smoke):LANG_SERVER:
+//DISABLE_TEST(smoke):LANG_SERVER:
//COMPLETE:31,21
//HOVER:25,30
//SIGNATURE:25,40
diff --git a/tests/language-server/this-type-hover.slang b/tests/language-server/this-type-hover.slang
index 535e04e93..230d8a59f 100644
--- a/tests/language-server/this-type-hover.slang
+++ b/tests/language-server/this-type-hover.slang
@@ -1,4 +1,4 @@
-//TEST:LANG_SERVER(filecheck=CHECK):
+//DISABLE_TEST:LANG_SERVER(filecheck=CHECK):
struct G
{}
diff --git a/tests/language-server/typename-enum-intval.slang b/tests/language-server/typename-enum-intval.slang
index 9eca71ae2..31e35d9a7 100644
--- a/tests/language-server/typename-enum-intval.slang
+++ b/tests/language-server/typename-enum-intval.slang
@@ -1,4 +1,4 @@
-//TEST:LANG_SERVER(filecheck=CHECK):
+//DISABLE_TEST:LANG_SERVER(filecheck=CHECK):
namespace ns {
enum Test : uint32_t
@@ -21,4 +21,4 @@ void f()
}
// CHECK: ns.Foo<ns.Test.A>
-// CHECK: ns.Foo<ns.Test(3)> \ No newline at end of file
+// CHECK: ns.Foo<ns.Test(3)>
diff --git a/tests/language-server/vector-member.slang b/tests/language-server/vector-member.slang
index 341544ac0..78a8a884d 100644
--- a/tests/language-server/vector-member.slang
+++ b/tests/language-server/vector-member.slang
@@ -1,4 +1,4 @@
-//TEST:LANG_SERVER(filecheck=CHECK):
+//DISABLE_TEST:LANG_SERVER(filecheck=CHECK):
void f()
{
float4 v;
@@ -9,4 +9,4 @@ void f()
// CHECK: x
// CHECK: y
// CHECK: z
-// CHECK: w \ No newline at end of file
+// CHECK: w
diff --git a/tests/spirv/empty-module.slang b/tests/spirv/empty-module.slang
index 76c98bdb9..0d5913d77 100644
--- a/tests/spirv/empty-module.slang
+++ b/tests/spirv/empty-module.slang
@@ -1,7 +1,7 @@
-//DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK): -target spirv
+//DISABLE_DIAGNOSTIC_TEST:SIMPLE(filecheck=CHECK): -target spirv
// missing entrypoint attribute
void vertMain()
{}
-// CHECK: error 57004 \ No newline at end of file
+// CHECK: error 57004