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
f53c0ded
Kaydet (Commit)
f53c0ded
authored
Eyl 25, 2006
tarafından
Vladimir Glazounov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS dmake46 (1.1.2); FILE ADDED
2006/07/23 03:41:38 vq 1.1.2.1: #i67585# Add a testcase.
üst
bb16e9a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
0 deletions
+42
-0
function_macros-6
dmake/tests/function_macros-6
+42
-0
No files found.
dmake/tests/function_macros-6
0 → 100755
Dosyayı görüntüle @
f53c0ded
#!/bin/sh
# 22.07.2006 Volker Quetschke
# Verifies that $(nil expression) expand expression but returns "".
# (issue 67585)
:
${
DMAKEPROG
:
=dmake
}
file1
=
"makefile.mk"
tmpfiles
=
"
$file1
"
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 nil function macro
SHELL*:=/bin/sh
SHELLFLAGS*:=-ce
all : dep
@+echo "X\
$(
AAA
)
X"
dep :
\
$(
nil
\$
(
assign AAA :
=
OK
)
)
EOT
output1
=
`
eval
${
DMAKEPROG
}
-rf
$file1
2>&1
`
result1
=
$?
if
test
$output1
=
"XOKX"
;
then
dummy
=
1
# OK
else
echo
"Wrong result:
$output1
"
result1
=
1
fi
test
$result1
-eq
0
&&
echo
"Success - Cleaning up"
&&
rm
-f
${
tmpfiles
}
test
$result1
-ne
0
&&
echo
"Failure!"
exit
$result1
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