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
fade5569
Kaydet (Commit)
fade5569
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/09/24 21:45:58 vq 1.1.2.1: #i80012# Add testcase.
üst
f5047827
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
0 deletions
+59
-0
targets-29
dmake/tests/targets-29
+59
-0
No files found.
dmake/tests/targets-29
0 → 100755
Dosyayı görüntüle @
fade5569
#!/bin/sh
# 24.09.2007 Volker Quetschke
# Check that the .REMOVE target does not crash dmake in parallel builds.
# (issue 80012)
:
${
DMAKEPROG
:
=dmake
}
file1
=
"mfile1.mk"
file2
=
"aaa.aaa"
file3
=
"aaa.bbb"
file4
=
"aaa.ccc"
tmpfiles
=
"
$file1
$file2
$file3
$file4
"
trap
'{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }'
1 2 3 15
# Remove files from prior failed run
rm
-rf
$tmpfiles
# Remember to quote variables in generated makefiles( $ -> \$ ).
cat
>
$file1
<<
EOT
SHELL*:=/bin/sh
SHELLFLAGS*:=-ce
.REMOVE :; @echo remove intermediate target: \
$<
%.aaa : %.bbb
@echo built \
$@
%.bbb : %.ccc
@sleep 1
@echo built \
$@
%.ccc :
@echo built \
$@
all : aaa.aaa
@echo Done
EOT
output1
=
`
eval
${
DMAKEPROG
}
-P2
-rf
$file1
2>&1
`
result1
=
$?
if
test
$result1
-ne
0
;
then
echo
"Failure! Remove the corefile!"
echo
"Output:
$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