Kaydet (Commit) aa057c09 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS dmake45 (1.2.2); FILE MERGED

2006/06/22 20:45:44 vq 1.2.2.1: #i66650# Make dmake testsuite more portable. (Usable with Solaris.)
Patch by hjs.
üst 2c058276
...@@ -34,7 +34,7 @@ all : ...@@ -34,7 +34,7 @@ all :
+@echo aa:\$(AA):bb +@echo aa:\$(AA):bb
EOT EOT
output=$(${DMAKEPROG} -r -P2 -f $file1 all) output=`eval ${DMAKEPROG} -r -P2 -f $file1 all`
result=$? result=$?
# The space between aaa and bbb comes from the += # The space between aaa and bbb comes from the +=
......
...@@ -28,7 +28,7 @@ EOT ...@@ -28,7 +28,7 @@ EOT
mkdir -p "$file2" mkdir -p "$file2"
output1=$(${DMAKEPROG} -r -f $file1) output1=`eval ${DMAKEPROG} -r -f $file1`
result1=$? result1=$?
if test "$output1" != ":$file2:"; then if test "$output1" != ":$file2:"; then
......
...@@ -31,7 +31,7 @@ ALL : mytarget.dpcc ...@@ -31,7 +31,7 @@ ALL : mytarget.dpcc
EOT EOT
output=$(${DMAKEPROG} -r -f $file1) output=`eval ${DMAKEPROG} -r -f $file1`
result=$? result=$?
test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles} test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
......
...@@ -40,7 +40,7 @@ mytarget.dpcc : ...@@ -40,7 +40,7 @@ mytarget.dpcc :
EOT EOT
output=$(${DMAKEPROG} -r -P2 -f $file1) output=`eval ${DMAKEPROG} -r -P2 -f $file1`
result=$? result=$?
if test "$output" != "making: mytarget.obj"; then if test "$output" != "making: mytarget.obj"; then
......
...@@ -24,7 +24,7 @@ line2 ...@@ -24,7 +24,7 @@ line2
EOT EOT
output=$(${DMAKEPROG} -r -f $file1) output=`eval ${DMAKEPROG} -r -f $file1`
result=$? result=$?
if test "$output" != "line1line2"; then if test "$output" != "line1line2"; then
echo "Wrong result" echo "Wrong result"
...@@ -34,4 +34,5 @@ fi ...@@ -34,4 +34,5 @@ fi
test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles} test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
test $result -ne 0 && echo "Failure!" test $result -ne 0 && echo "Failure!"
exit $result exit $result
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment