Author: Jordan Rupprecht Date: 2020-12-23T14:33:04-08:00 New Revision: be89d7460b63508a6a277050395c14a4fa74b031
URL: https://github.com/llvm/llvm-project/commit/be89d7460b63508a6a277050395c14a4fa74b031 DIFF: https://github.com/llvm/llvm-project/commit/be89d7460b63508a6a277050395c14a4fa74b031.diff LOG: [lld][test] Relax test assertion of cmake defaults appearing in --version output. D93491 implemented `--version` for the MachO LLD port, but asserts that the string contains something like "LLD N.N". However, this is just the cmake default for `LLD_VERSION_STRING`, and downstream users may choose a different value, e.g. a rolling distro may print "LLD trunk". Added: Modified: lld/test/MachO/driver.test Removed: ################################################################################ diff --git a/lld/test/MachO/driver.test b/lld/test/MachO/driver.test index 417c71eac561..5a0ccac01c31 100644 --- a/lld/test/MachO/driver.test +++ b/lld/test/MachO/driver.test @@ -1,5 +1,5 @@ # RUN: %lld --version | FileCheck -check-prefix=VERSION %s -VERSION: {{LLD [0-9]+\.[0-9]+}} +VERSION: LLD # RUN: not %lld ---help 2>&1 | FileCheck -check-prefix=SPELLHELP %s SPELLHELP: error: unknown argument '---help', did you mean '--help' _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits