Changeset 15502 in project


Ignore:
Timestamp:
08/16/09 12:15:31 (10 years ago)
Author:
felix winkelmann
Message:

added test for inlining/capture bug

Location:
chicken/branches/inlining
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • chicken/branches/inlining/rules.make

    r15323 r15502  
    12571257
    12581258testclean:
    1259         $(REMOVE_COMMAND) $(REMOVE_COMMAND_OPTIONS) $(SRCDIR)tests/*.out $(SRCDIR)tests/tmp* \
    1260           $(SRCDIR)tests/*.so $(SRCDIR)tests/*.import.scm $(SRCDIR)tests/repository
     1259        $(REMOVE_COMMAND) $(REMOVE_COMMAND_OPTIONS) $(SRCDIR)tests/a.out $(SRCDIR)tests/scrutiny.out \
     1260          $(SRCDIR)tests/tmp* $(SRCDIR)tests/*.so $(SRCDIR)tests/*.import.scm $(SRCDIR)tests/repository
    12611261
    12621262# run tests
  • chicken/branches/inlining/tests/compiler-tests-2.scm

    r12114 r15502  
    1313 (plus 1))
    1414
    15 (print (plus1 1))
     15(assert (= 2 (plus1 1)))
    1616
    1717(define (len lst)
     
    2424 (len 0))
    2525
    26 (print (len '(1 2 3)))
     26(assert (= 3 (len '(1 2 3))))
  • chicken/branches/inlining/tests/runtests.sh

    r15194 r15502  
    3939
    4040echo "======================================== compiler tests (2) ..."
    41 $compile compiler-tests.scm -lambda-lift
     41$compile compiler-tests-2.scm -lambda-lift
     42./a.out
     43
     44echo "======================================== compiler inlining tests  ..."
     45$compile inlining-tests.scm -optimize-level 3
    4246./a.out
    4347
Note: See TracChangeset for help on using the changeset viewer.