Skip to content

Commit 3546bde

Browse files
cooppCooper Partin
andauthored
Increase filter time value for failing ftime-trace-granularity test (microsoft#6532)
ftime-trace-granularity test was failing in test runs due to the configured time filter value being too small. The latest test run was recording duration times of 322308 which is larger than the test's specified filter value of 99999 causing timings to not be filtered out. The test is now updated to have a filter value of 999999, which should properly filter out timings. Fixes microsoft#6528 --------- Co-authored-by: Cooper Partin <[email protected]>
1 parent d60dffe commit 3546bde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/clang/test/DXC/ftime-trace-granularity.hlsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %dxc -E main -T vs_6_0 %s -ftime-trace -ftime-trace-granularity=99999 | FileCheck %s
2-
// RUN: %dxc -E main -T vs_6_0 %s -ftime-trace=%t.json -ftime-trace-granularity=99999
1+
// RUN: %dxc -E main -T vs_6_0 %s -ftime-trace -ftime-trace-granularity=2147483647 | FileCheck %s
2+
// RUN: %dxc -E main -T vs_6_0 %s -ftime-trace=%t.json -ftime-trace-granularity=2147483647
33
// RUN: cat %t.json | FileCheck %s
44

55
// This test runs both stdout and file output paths.

0 commit comments

Comments
 (0)