================ @@ -1,4 +1,6 @@ ## An error must be reported if a required argument value is missing. -# RUN: not llvm-objcopy --only-section 2>&1 | FileCheck --check-prefix=CHECK-NO-VALUE %s -# RUN: not llvm-objcopy -O 2>&1 | FileCheck --check-prefix=CHECK-NO-VALUE %s -# CHECK-NO-VALUE: error: argument to '{{.*}}' is missing +# RUN: not llvm-objcopy --only-section 2>&1 | FileCheck --check-prefix=CHECK-NO-VALUE-ONLY-SECTION %s +# CHECK-NO-VALUE-ONLY-SECTION: error: argument to '--only-section' is missing ---------------- quic-akaryaki wrote:
I added the check for the full message in 49c078a. Thanks. https://github.com/llvm/llvm-project/pull/70710 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits