Changeset 4dcea3f for src/tests


Ignore:
Timestamp:
Jun 28, 2016, 3:33:05 PM (10 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
982d63f
Parents:
e39aa0f (diff), 2e04c7b3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into ctor

Location:
src/tests
Files:
1 added
3 edited
58 moved

Legend:

Unmodified
Added
Removed
  • src/tests/.expect/castError.txt

    re39aa0f r4dcea3f  
    4040
    4141
    42 make: *** [CastError] Error 1
     42make: *** [castError] Error 1
  • src/tests/.expect/constant0-1DP.txt

    re39aa0f r4dcea3f  
    3232Error: duplicate object definition for x: const pointer to pointer to signed int
    3333Error: duplicate object definition for 0: pointer to pointer to signed int
    34 make: *** [Constant0-1DP] Error 1
     34make: *** [constant0-1DP] Error 1
  • src/tests/.expect/constant0-1NDDP.txt

    re39aa0f r4dcea3f  
    1616Error: duplicate object definition for x: const pointer to signed int
    1717Error: duplicate object definition for 0: const pointer to signed int
    18 make: *** [Constant0-1NDDP] Error 1
     18make: *** [constant0-1NDDP] Error 1
  • src/tests/.expect/declarationErrors.txt

    re39aa0f r4dcea3f  
    1414Error: invalid combination of storage classes in declaration of x28: static static volatile const instance of type Int
    1515
    16 make: *** [DeclarationErrors] Error 1
     16make: *** [declarationErrors] Error 1
  • src/tests/.expect/declarationSpecifier.txt

    re39aa0f r4dcea3f  
    1414Error: invalid combination of storage classes in declaration of x28: static static volatile const instance of type Int
    1515
    16 make: *** [DeclarationSpecifier] Error 1
     16make: *** [declarationSpecifier] Error 1
  • src/tests/.expect/labelledExit.txt

    re39aa0f r4dcea3f  
    11CFA Version 1.0.0 (debug)
    22Error: 'break' outside a loop or switch
    3 make: *** [LabelledExit] Error 1
     3make: *** [labelledExit] Error 1
  • src/tests/.expect/scopeErrors.txt

    re39aa0f r4dcea3f  
    99    CompoundStmt
    1010
    11 make: *** [ScopeErrors] Error 1
     11make: *** [scopeErrors] Error 1
  • src/tests/Makefile.am

    re39aa0f r4dcea3f  
    1111## Created On       : Sun May 31 09:08:15 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Mon Jun 20 14:30:52 2016
    14 ## Update Count     : 33
     13## Last Modified On : Mon Jun 27 14:39:08 2016
     14## Update Count     : 34
    1515###############################################################################
    1616
     
    2727
    2828all-local :
    29         python test.py vector_test avl_test operators numericConstants expression enum asmName array typeof cast
     29        +python test.py vector_test avl_test operators numericConstants expression enum asmName array typeof cast
    3030
    3131all-tests :
    32         python test.py --all
     32        +python test.py --all
    3333
    3434clean-local :
     
    3636
    3737list :
    38         python test.py --list
     38        +python test.py --list
    3939
    4040constant0-1DP : constant0-1.c
  • src/tests/Makefile.in

    re39aa0f r4dcea3f  
    634634
    635635all-local :
    636         python test.py vector_test avl_test operators numericConstants expression enum asmName array typeof cast
     636        +python test.py vector_test avl_test operators numericConstants expression enum asmName array typeof cast
    637637
    638638all-tests :
    639         python test.py --all
     639        +python test.py --all
    640640
    641641clean-local :
     
    643643
    644644list :
    645         python test.py --list
     645        +python test.py --list
    646646
    647647constant0-1DP : constant0-1.c
  • src/tests/test.py

    re39aa0f r4dcea3f  
    6161
    6262        # build, skipping to next test on error
    63         make_ret = sh("make -j 8 %s 2> %s 1> /dev/null" % (test, out_file), dry_run)
     63        make_ret = sh("%s %s 2> %s 1> /dev/null" % (make_cmd, test, out_file), dry_run)
    6464
    6565        if make_ret == 0 :
     
    8484
    8585def run_tests(tests, generate, dry_run) :
    86         sh('make clean > /dev/null 2>&1', dry_run)
     86        sh("%s clean > /dev/null 2>&1" % make_cmd, dry_run)
    8787        sh('mkdir -p .out .expect', dry_run)
    8888
     
    102102                        print( "Done" )
    103103
    104         sh('make clean > /dev/null 2>&1', dry_run)
     104        sh("%s clean > /dev/null 2>&1" % make_cmd, dry_run)
    105105
    106106        return 1 if failed else 0
     
    141141                sys.exit(1)
    142142
     143tests.sort()
     144make_flags = environ.get('MAKEFLAGS')
     145make_cmd = "make" if make_flags and "-j" in make_flags else "make -j8"
     146
    143147if options.list :
    144148        print("\n".join(tests))
  • src/tests/typedef.c

    re39aa0f r4dcea3f  
    22
    33void f( void ) {
    4     int T( T );
     4    int T( T p ) { return 3; }
    55    T( 3 );
    66}
     
    3838typedef [ int, int ] tupleType;
    3939typedef * [ int, int ] tupleTypePtr;
    40 typedef * int a, b;
     40typedef * int c, d;
    4141typedef [ int ] f( * int ), g;
    4242typedef [ * [static 10] int ] t;
    43 typedef [ * [static 10] int x ] f();
     43typedef [ * [static 10] int x ] h();
    4444
    4545// Local Variables: //
Note: See TracChangeset for help on using the changeset viewer.