summaryrefslogtreecommitdiff
path: root/dmake/tests/recipes-3
blob: a4e4a24b6653e93f19ec18ebb196f08686d5ccb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh

# 29.07.2006 Volker Quetschke
# Test builtin commands.
# (issue 67589)

: ${DMAKEPROG:=dmake}
file1="mymakefile.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
# Test noop and empty lines
SHELL:=/bin/sh 
SHELLFLAGS:=-ce

all :
	\$(NULL)
	+\$(NULL)
	@noop bla bla \$(assign NOSHELL:=ABC)
	@+noop bla bla \$(assign WITHSHELL:=DEF)
	@echo \$(NOSHELL)\$(WITHSHELL)

EOT

output=`eval ${DMAKEPROG} -r -f $file1`
result=$?
if test "$output" != "ABCDEF"; then
  echo "Wrong result: $output"
  result=1
fi


test $result -eq 0 && echo "Success - Cleaning up" && rm -f ${tmpfiles}
test $result -ne 0 && echo "Failure!"
exit $result
td>scp2: only package the sdk if it is enabled.Michael Meeks 2013-05-09fdo#60924 autoinstall - gbuild/scp2: add graphicfilter moduleMarcos Paulo de Souza 2013-05-07fdo#60924 autoinstall - gbuild/scp2: add gnome moduleMarcos Paulo de Souza 2013-05-07fdo#60924 autoinstall - gbuild/scp2: add tde moduleMarcos Paulo de Souza 2013-05-04fdo#60924 autoinstall - gbuild/scp2: add kde moduleMatúš Kukan 2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks 2013-04-15scp2: forgot to include AutoInstallLibs_writer.mkMatúš Kukan 2013-04-11autoinstall ure private librariesMatúš Kukan 2013-03-03remove stale javafiltersAndras Timar 2013-02-19Kill the --without-system-stdlibs optionFridrich Štrba 2013-02-15Remove the need to manually register libs in scp2Bjoern Michaelsen 2013-01-16there is no standalone URE installationMatúš Kukan 2012-12-25Get rid of (most uses of) GUITor Lillqvist 2012-11-09binfilter.die.die.dieNorbert Thiebaud 2012-09-19gbuild: avoid unnecessary Packages while processing scp2 filesMatúš Kukan 2012-09-07fdo#54450 install evolution DB driver correctlyDavid Tardon