mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Avoid Tcl substitution, introduced %llvmgcc_only for this one little test
(%llvmgcc includes a '-w' argument, and this test looks for warnings). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81152 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3429c5e153
commit
b25f32bab8
@ -1,4 +1,4 @@
|
|||||||
// RUN: $llvmgcc $test -c -o /dev/null |& \
|
// RUN: %llvmgcc_only %s -c -o /dev/null |& \
|
||||||
// RUN: egrep {(14|15|22): warning:} | \
|
// RUN: egrep {(14|15|22): warning:} | \
|
||||||
// RUN: wc -l | grep --quiet 3
|
// RUN: wc -l | grep --quiet 3
|
||||||
// XTARGET: darwin,linux
|
// XTARGET: darwin,linux
|
||||||
|
@ -59,6 +59,8 @@ proc substitute { line test tmpFile } {
|
|||||||
regsub -all {%%} $new_line {_#MARKER#_} new_line
|
regsub -all {%%} $new_line {_#MARKER#_} new_line
|
||||||
#replace %prcontext with prcontext.tcl (Must replace before %p)
|
#replace %prcontext with prcontext.tcl (Must replace before %p)
|
||||||
regsub -all {%prcontext} $new_line $prcontext new_line
|
regsub -all {%prcontext} $new_line $prcontext new_line
|
||||||
|
#replace %llvmgcc_only with actual path to llvmgcc
|
||||||
|
regsub -all {%llvmgcc_only} $new_line "$llvmgcc" new_line
|
||||||
#replace %llvmgcc with actual path to llvmgcc
|
#replace %llvmgcc with actual path to llvmgcc
|
||||||
regsub -all {%llvmgcc} $new_line "$llvmgcc -emit-llvm -w" new_line
|
regsub -all {%llvmgcc} $new_line "$llvmgcc -emit-llvm -w" new_line
|
||||||
#replace %llvmgxx with actual path to llvmg++
|
#replace %llvmgxx with actual path to llvmg++
|
||||||
|
Loading…
Reference in New Issue
Block a user