summaryrefslogtreecommitdiff
path: root/dmake/tests/targets-27
blob: 3ad33b4c20ffadd591aca0bd991696c68cb35c7c (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/sh

# 15.08.2007 Volker Quetschke
# Another check that the .PHONY attribute works with %-targets. This test
# was still failing after issue 66751.
# (issue 80687)

: ${DMAKEPROG:=dmake}
file1="mfile1.mk"
file2="aa.x"
file3="aa.y"
file4="aa.z"
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

%.x : %.y
	@sleep 1
	@+printf " and \$@.\n"
	@touch \$@

aa.y .PHONY : aa.z
	@+printf "Build \$@"
	@touch \$@

EOT

# Create test environment
touch aa.z; sleep 1; touch aa.y ; sleep 1 ;touch aa.x
# Avoid that aa.x has the same time stamp as aa.y after
# that has been rebuild.
sleep 1

output1=`eval ${DMAKEPROG} -rf $file1 aa.x 2>&1 `
result1=$?

if test "$output1" != "Build aa.y and aa.x."; 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
ykowski 2021-03-18tdf#140892 Outline Content Visibility Window button improvementsJim Raykowski 2021-03-13merge the various SetPointFont via DefaultDevice callsCaolán McNamara 2021-01-17cppcheck: Prefer prefix ++/-- operators for non-primitive typesJulien Nabet 2020-12-24Fix typosAndrea Gelmini 2020-12-24tdf#138136 tdf#38093 add option to treat sub outline levels as contentJim Raykowski 2020-12-04weld writer's FrameControl MenuButtonsCaolán McNamara 2020-11-24tdf#42949 Fix new IWYU warnings in directory swGabor Kelemen 2020-08-02Fix typosAndrea Gelmini 2020-07-30tdf#38093 Writer outline folding - outline visibility and on canvas uiJim Raykowski 2020-01-24loplugin:makeshared in swNoel Grandin 2019-12-11convert FrameControlType to scoped enumNoel Grandin 2019-09-28loplugin:constmethod in swNoel Grandin 2019-03-22Unfloat: Move the button to the top of the frameTamás Zolnai 2019-01-08Unfloat: FloatingTableButton -> UnfloatTableButtonTamás Zolnai 2019-01-03Unfloat: Introduce Unfloat table button as a frame controlTamás Zolnai 2018-10-30Simplify containers iterations in sw/source/ui*Arkadiy Illarionov 2017-11-19clang-tidy modernize-use-equals-default in sw/source/uibaseJochen Nitschke 2017-10-31RotateFlyFrame2: Unified FrameAreaDefinitionArmin Le Grand 2017-10-30Adapted to get/setSwFrame and get/setSwPrintArmin Le Grand 2017-10-30Isolated SwFrame members maFrane and maPrtArmin Le Grand 2017-06-27fdo#43157 convert OSL_ASSERT to assert in sw/sourceBernhard Widl 2017-05-07revert OSL_ASSERT changesChris Sherlock 2017-05-07tdf#43157: convert sw module away from OSL_ASSERT to assertChris Sherlock 2017-03-31tdf#82580 tools: rename Rectangle to tools::RectangleMiklos Vajna 2016-05-20clang-tidy misc-assign-operator-signatureNoel Grandin 2015-11-25bin/rename-sw-abbreviations.shlibreoffice-5-1-branch-pointRobinson Tryon 2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann 2015-06-13sw: overloading in C++ fail episode 6234Michael Stahl 2015-06-12Writer FrameControl lifecycle and management cleanup.Michael Meeks 2015-04-09sw: more double dispose work.Michael Meeks 2014-06-10coverity#735983 Unchecked dynamic_castCaolán McNamara 2014-06-10coverity#735982 Unchecked dynamic_castCaolán McNamara 2014-05-27sw: move sw/source/core/uibase to sw/source/uibaseMichael Stahl