File: test_09

package info (click to toggle)
aspectc%2B%2B 0.99%2B1.0pre3-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 66,496 kB
  • ctags: 243,496
  • sloc: cpp: 1,226,050; ansic: 14,778; sh: 1,963; makefile: 741
file content (24 lines) | stat: -rw-r--r-- 638 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DESC="More than one project path"
main(){
	if  ( ${AGCC} -Isrc  -I additional_aspects --real-instances --path src --path additional_aspects -o test -v2 src/*.cc );then true;else
		ERR_MSG="Failed executing '${AGCC} --real-instances --path src --path additional_aspects -v2 src/*.cc'";
		return 0;
	fi;
	
	if [ ! -e test ];then
		ERR_MSG="Executable 'test' was not generated";
		return 0;
	else
		./test > test_09.out;
	fi;

	echo -n "\n\nDIFF:\n"
	if (  diff -w  test_09.out test_09.ref );then true;else
		ERR_MSG="Outputs differ: Probably the programm was not weaved correctly";
		return 0;
	fi;
	

	rm -f test test_09.out;
	return 1;
}