File: 2007_01_31_build_check_ignore_action.test

package info (click to toggle)
makepp 2.0.98.5-2.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,744 kB
  • sloc: perl: 15,893; makefile: 38; javascript: 25; sh: 1
file content (31 lines) | stat: -rw-r--r-- 1,033 bytes parent folder | download | duplicates (3)
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
###	SPAR <http://www.cpan.org/scripts/>
###	11	755	1152637069	1208536507	makepp_test_script.pl
local $ENV{SUF} = is_windows > 1 ? 'bat' : 'sh';
# Build once
makepp qw{ SCRIPT=test };
# Build with different command line, should not execute command
makepp qw{ SCRIPT=test1 };
c_cp "x", "y";
# Now change the dependencies, and check that the build info is saved with
# virtual sandboxes (this was broken once).
makepp qw{ --virtual-sandbox Y=Makeppfile SCRIPT=test1 };
# Build with different command line, should not execute command
makepp qw{ Y=Makeppfile SCRIPT=test };
###	2	664	1152637082	1208536569	Makeppfile
x : $(Y) : build_check ignore_action
        .$/$(SCRIPT).$(SUF) > $@
###	1	755	1132010446	1208536620	test.bat
@echo OK
###	2	755	1132010446	1125361510	test.sh
#!/bin/sh
echo OK
###	1	755	1132010446	1208536617	test1.bat
@echo NOK
###	2	755	1132010446	1125361510	test1.sh
#!/bin/sh
echo NOK
###	D	777	1079144793	1079144618	answers
###	1	777	1079144618	1079144618	answers/x
NOK
###	1	777	1079144618	1079144618	answers/y
OK