Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
451cdf82
Kaydet (Commit)
451cdf82
authored
Eki 15, 2007
tarafından
Ivo Hinkelmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS dmake411 (1.1.2); FILE ADDED
2007/08/04 04:15:37 vq 1.1.2.1: #i80144# Add testcases.
üst
ba15debd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
0 deletions
+56
-0
targets-23
dmake/tests/targets-23
+56
-0
No files found.
dmake/tests/targets-23
0 → 100755
Dosyayı görüntüle @
451cdf82
#!/bin/sh
# 03.08.2007 Volker Quetschke
# Check that a %-target without prereq has precedence over one with
# prerequisite.
# (issue 80144)
:
${
DMAKEPROG
:
=dmake
}
file1
=
"mfile1.mk"
file2
=
"aaa.aaa"
tmpfiles
=
"
$file1
$file2
"
trap
'{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }'
1 2 3 15
# Remove files from prior failed run
rm
-rf
$tmpfiles
# Create test environment
touch
aaa.aaa
# Remember to quote variables in generated makefiles( $ -> \$ ).
cat
>
$file1
<<
EOT
SHELL*:=/bin/sh
SHELLFLAGS*:=-ce
.REMOVE : ; @echo remove \
$<
%.a : %.b
@echo Wrong choice -
$@
%.a :
@echo Right choice
all : xx.a
@noop all
EOT
output1
=
`
eval
${
DMAKEPROG
}
-rf
$file1
2>&1
`
result1
=
$?
if
test
"
$output1
"
!=
"Right choice"
;
then
echo
"Wrong result:
$output1
"
result1
=
1
else
echo
"OK"
fi
if
test
$result1
-eq
0
;
then
echo
"Success - Cleaning up"
rm
-rf
$tmpfiles
exit
else
echo
"Failure!"
exit
1
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment