|
@@ -1,7 +1,13 @@
|
|
// /Fd implies /Qstrip_debug ; path with / produces auto hash-named .pdb file
|
|
// /Fd implies /Qstrip_debug ; path with / produces auto hash-named .pdb file
|
|
-// RUN: %dxc /T ps_6_0 %S/Inputs/smoke.hlsl /Zi /Fd ./ /Fo %t.strip
|
|
|
|
|
|
+
|
|
|
|
+// NOTE: cd into unique directory to avoid ls *.pdb affected by pdb files generated by other tests.
|
|
|
|
+// RUN: mkdir -p %T/strip_dbg && cd %T/strip_dbg
|
|
|
|
+
|
|
|
|
+// RUN: %dxc /T ps_6_0 %S/Inputs/smoke.hlsl /Zi -Zss /Fd %T/strip_dbg/ /Fo %t.strip
|
|
// RUN: %dxc -dumpbin %t.strip | FileCheck %s --check-prefix=STRIP_DBG
|
|
// RUN: %dxc -dumpbin %t.strip | FileCheck %s --check-prefix=STRIP_DBG
|
|
-// RUN: ls *.pdb && rm *.pdb
|
|
|
|
|
|
+
|
|
|
|
+// Make sure the pdb file exist.
|
|
|
|
+// RUN: ls -1 %T/strip_dbg | grep "\\.pdb$" | count 1
|
|
|
|
|
|
// /Zi with /Qstrip_debug and no output should not embed
|
|
// /Zi with /Qstrip_debug and no output should not embed
|
|
// RUN: %dxc /T ps_6_0 %S/Inputs/smoke.hlsl /Zi /Qstrip_debug /Fo %t.strip2
|
|
// RUN: %dxc /T ps_6_0 %S/Inputs/smoke.hlsl /Zi /Qstrip_debug /Fo %t.strip2
|