diff --git a/programming_guide/section-4/section-4b/run_makefile.lit b/programming_guide/section-4/section-4b/run_makefile.lit index 686aa8133b..d298884111 100644 --- a/programming_guide/section-4/section-4b/run_makefile.lit +++ b/programming_guide/section-4/section-4b/run_makefile.lit @@ -1,13 +1,15 @@ // (c) Copyright 2024 Advanced Micro Devices, Inc. - // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception - // - // REQUIRES: ryzen_ai, peano - // - // RUN: make -f %S/Makefile clean - // RUN: CHESS=false make -f %S/Makefile - // RUN: %run_on_npu make -f %S/Makefile run | FileCheck %s - // RUN: %run_on_npu make -f %S/Makefile run_py | FileCheck %s - // RUN: make -f %S/Makefile clean - // RUN: CHESS=false %run_on_npu make -f %S/Makefile trace | FileCheck %s - // RUN: CHESS=false %run_on_npu make -f %S/Makefile trace_py | FileCheck %s - // CHECK: PASS! +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +// REQUIRES: ryzen_ai, peano +// +// RUN: mkdir -p test_peano +// RUN: cd test_peano +// RUN: make -f %S/Makefile clean +// RUN: env CHESS=false make -f %S/Makefile +// RUN: %run_on_npu make -f %S/Makefile run | FileCheck %s +// RUN: %run_on_npu make -f %S/Makefile run_py | FileCheck %s +// RUN: make -f %S/Makefile clean +// RUN: env CHESS=false %run_on_npu make -f %S/Makefile trace | FileCheck %s +// RUN: env CHESS=false %run_on_npu make -f %S/Makefile trace_py | FileCheck %s +// CHECK: PASS! diff --git a/programming_guide/section-4/section-4b/run_makefile_chess.lit b/programming_guide/section-4/section-4b/run_makefile_chess.lit index 8ee7669812..e80b3b62b2 100644 --- a/programming_guide/section-4/section-4b/run_makefile_chess.lit +++ b/programming_guide/section-4/section-4b/run_makefile_chess.lit @@ -6,11 +6,11 @@ // RUN: mkdir -p test_chess // RUN: cd test_chess // RUN: make -f %S/Makefile clean -// RUN: CHESS=true make -f %S/Makefile +// RUN: env CHESS=true make -f %S/Makefile // RUN: %run_on_npu make -f %S/Makefile run | FileCheck %s // RUN: %run_on_npu make -f %S/Makefile run_py | FileCheck %s // RUN: %run_on_npu make -f %S/Makefile trace | FileCheck %s // RUN: make -f %S/Makefile clean -// RUN: CHESS=true %run_on_npu make -f %S/Makefile trace | FileCheck %s -// RUN: CHESS=true %run_on_npu make -f %S/Makefile trace_py | FileCheck %s +// RUN: env CHESS=true %run_on_npu make -f %S/Makefile trace | FileCheck %s +// RUN: env CHESS=true %run_on_npu make -f %S/Makefile trace_py | FileCheck %s // CHECK: PASS!