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

« back to all changes in this revision

Viewing changes to Ag++/tests/test_10

  • 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
1
DESC="Custom Configuration Command"
2
 
main(){
3
 
        CONFIG_COMMAND="echo '#define test10'"
4
 
        if [ ${_TARGET} == "win32" ]; then
5
 
                CONFIG_COMMAND="echo #define test10"
6
 
        fi;
7
 
        
8
 
        if  ( ${AGCC} --gen_config  -o test_10.config --config_command "${CONFIG_COMMAND}" );then true;else
9
 
                ERR_MSG="Failed executing '${AGCC} --gen_config  -o test_10.config --config_command ${CONFIG_COMMAND}";
 
2
 
 
3
main()
 
4
{
 
5
   CONFIG_COMMAND="cat test_10.in"
 
6
 
 
7
   EXEC="${AGCC} -Dtest_10_file_3='\"a string\"' -v3 --gen_config  -o test_10.config --config_command \"${CONFIG_COMMAND}\""
 
8
        if  ( eval ${EXEC} );then true;else
 
9
                ERR_MSG="Failed executing '${EXEC}'";
10
10
                return 0;
11
11
        fi;
12
12
        
21
21
                return 0;
22
22
        fi;
23
23
        
24
 
        
 
24
        return 1;
 
25
}
25
26
 
 
27
cleanup()
 
28
{
26
29
        rm -f test_10.config
27
 
        return 1;
28
30
}
 
31