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
4dbca1ef
Kaydet (Commit)
4dbca1ef
authored
Nis 20, 2006
tarafından
Jens-Heiner Rechtien
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS dmake43p01 (1.1.2); FILE ADDED
2005/09/05 21:10:17 vq 1.1.2.1: #i53148# Add another testcase.
üst
92505873
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
function_macros-4
dmake/tests/function_macros-4
+35
-0
No files found.
dmake/tests/function_macros-4
0 → 100755
Dosyayı görüntüle @
4dbca1ef
#!/bin/sh
# 04.09.2005 Volker Quetschke
# Tests $(shell ..) if function macro is executed after previous recipe lines
# when using two concurrend (or more) processes.
# (issue 53148)
:
${
DMAKEPROG
:
=dmake
}
file1
=
"makefile.mk"
file2
=
"stdout.txt"
tmpfiles
=
"
$file1
$file2
"
trap
'{ echo "trapped signal - removing temporary files" ; rm -rf $tmpfiles ; }'
1 2 3 15
trap
'rm -rf $tmpfiles'
1 2 3 15
# Remember to quote variables in generated makefiles( $ -> \$ ).
cat
>
$file1
<<
EOT
# Testing continuation char in recipes
SHELL*:=/bin/sh
SHELLFLAGS*:=-ce
aaa :
+echo b0
+echo b1
+echo teststring >
$file2
+echo A\
$(
shell
cat
$file2
)
A
EOT
${
DMAKEPROG
}
-P2
-r
-f
$file1
result
=
$?
test
$result
-eq
0
&&
echo
"Success - Cleaning up"
&&
rm
-f
${
tmpfiles
}
test
$result
-ne
0
&&
echo
"Failure!"
exit
$result
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