~ubuntu-branches/ubuntu/maverick/aspectc++/maverick

« back to all changes in this revision

Viewing changes to Ag++/tests/test_06

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
DESC="Fail when trying to invoke ag++ with -o <filename> -- weave_only and multiple files "
 
1
DESC="Fail when trying to invoke ag++ with -o <filename> --weave_only and multiple files "
 
2
 
2
3
main(){
3
 
        if  ( ${AGCC} -p src -o test --weave_only src/Test.cc src/main.cc);then
4
 
                ERR_MSG="Succeed (should fail executing '${AGCC} -p src -o test --weave_only src/Test.cc src/main.cc')";
 
4
   EXEC="${AGCC} -p src -o test_06.out --weave_only src/Test.cc src/main.cc"
 
5
        if  ( ${EXEC} );then
 
6
                ERR_MSG="Succeed (should fail executing '${EXEC}')";
5
7
                return 0;
6
8
        fi;
7
9
 
8
 
        rm -f test;
9
10
        return 1;
10
11
}
 
12
 
 
13
cleanup()
 
14
{
 
15
        rm -f test_06.out;
 
16
}