Skip to content

Commit 84c7a38

Browse files
jmmartinezDavid Salinas
authored andcommitted
[Comgr][Cache] Fix broken test: spirv-translator-cached.cl
1 parent ca47f24 commit 84c7a38

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

amd/comgr/test-lit/spirv-translator-cached.cl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@
1212
// RUN: export AMD_COMGR_CACHE=1
1313
// RUN: AMD_COMGR_CACHE_DIR=%t.cache spirv-translator %t.spv -o %t.translated.bc
1414
// RUN: COUNT=$(ls "%t.cache" | wc -l)
15-
// RUN: [ 2 -eq $COUNT ]
15+
// RUN: [ 3 -eq $COUNT ]
16+
17+
// COM: Run again and check that the cache contents haven't changed
18+
// RUN: AMD_COMGR_CACHE_DIR=%t.cache spirv-translator %t.spv -o %t.translated.again.bc
19+
// RUN: COUNT=$(ls "%t.cache" | wc -l)
20+
// RUN: [ 3 -eq $COUNT ]
1621

1722
// COM: Run again and check that the cache contents haven't changed
1823
// RUN: AMD_COMGR_CACHE_DIR=%t.cache spirv-translator %t.spv -o %t.translated.again.bc

0 commit comments

Comments
 (0)