From 2777514cae1df325e29c30afd70e4b1c59e0370f Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Mon, 22 Jul 2024 18:59:11 -0500 Subject: [PATCH] Fix cl support in test runner It got broken some time in adding standards testing --- c/test_euler.py | 2 +- cplusplus/test_euler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c/test_euler.py b/c/test_euler.py index 00d7e319..20fbc8a7 100644 --- a/c/test_euler.py +++ b/c/test_euler.py @@ -119,7 +119,7 @@ compilers.extend(f'CLANG+{std}' for std in STANDARDS) if AOCC_BINARY != 'clang' and which(AOCC_BINARY): compilers.extend(f'AOCC+{std}' for std in STANDARDS) - for x in ('icc', 'icc'): + for x in ('cl', 'icc'): if which(x): compilers.extend(f'{x.upper()}+{std}' for std in STANDARDS) for x in ('pcc', 'tcc'): diff --git a/cplusplus/test_euler.py b/cplusplus/test_euler.py index 8e670d04..646607e6 100644 --- a/cplusplus/test_euler.py +++ b/cplusplus/test_euler.py @@ -106,7 +106,7 @@ compilers.extend(f'CLANG+{std}' for std in STANDARDS) if AOCC_BINARY != 'clang' and which(AOCC_BINARY): compilers.extend(f'AOCC+{std}' for std in STANDARDS) - for x in ('icc', 'icc'): + for x in ('cl', 'icc'): if which(x): compilers.extend(f'{x.upper()}+{std}' for std in STANDARDS) if not compilers: