[PATCH] D107684: [NFC][AVR][clang] Add test for D107672

Ben Shi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 7 01:37:25 PDT 2021


benshi001 added inline comments.


================
Comment at: clang/test/Driver/avr-toolchain.c:9
 
-// RUN: %clang %s -### -target avr --sysroot %S/Inputs/basic_avr_tree 2>&1 -nostdinc | FileCheck -check-prefix CC1B %s
-// CC1B-NOT: "-internal-isystem" {{".*avr/include"}}
+// RUN: %clang %s -### -no-canonical-prefixes -target avr --sysroot %S/Inputs/basic_avr_tree_opt_local/opt/local 2>&1 | FileCheck -check-prefix CC1B %s
+// CC1B: clang{{.*}} "-cc1" "-triple" "avr" {{.*}} "-internal-isystem" {{".*/opt/local/avr/include"}}
----------------
Please do not change existing tests, you can add new lines.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107684/new/

https://reviews.llvm.org/D107684



More information about the cfe-commits mailing list