Don't use incremental build in webgpu-cts/scripts/list.py
The incremental build can become stale for unknown reasons, breaking presubmits. Disable it for now. Bug: dawn:1395 Change-Id: I83a71da0006ee3184b8df2996d8e53b6efbcc20a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89640 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
0a3cda9911
commit
552045a559
|
@ -32,7 +32,7 @@ finally:
|
|||
|
||||
def compile_src(out_dir):
|
||||
# First, clean the output directory so deleted files are pruned from old builds.
|
||||
shutil.rmtree(out_dir)
|
||||
shutil.rmtree(out_dir, ignore_errors=True)
|
||||
|
||||
run_tsc_ignore_errors([
|
||||
"--project",
|
||||
|
@ -56,7 +56,7 @@ def compile_src_for_node(out_dir, additional_args=None, clean=True):
|
|||
additional_args = additional_args or []
|
||||
if clean:
|
||||
# First, clean the output directory so deleted files are pruned from old builds.
|
||||
shutil.rmtree(out_dir)
|
||||
shutil.rmtree(out_dir, ignore_errors=True)
|
||||
|
||||
args = [
|
||||
"--project",
|
||||
|
|
|
@ -35,11 +35,9 @@ def list_testcases(query, js_out_dir=None):
|
|||
|
||||
try:
|
||||
logging.info('WebGPU CTS: Transpiling tools...')
|
||||
compile_src_for_node(js_out_dir, [
|
||||
'--incremental', '--tsBuildInfoFile',
|
||||
os.path.join(js_out_dir, 'build.tsbuildinfo')
|
||||
],
|
||||
clean=False)
|
||||
# TODO(crbug.com/dawn/1395): Bring back usage of an incremental build to
|
||||
# speed up this operation. It was disabled due to flakiness.
|
||||
compile_src_for_node(js_out_dir)
|
||||
|
||||
old_sys_path = sys.path
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue