Check-in [5b5e7e38ed]
Overview
Comment:Updated to test with package
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5b5e7e38edce827b5c4228379545b90599a0c5fe
User & Date: rkeene on 2014-05-06 20:12:23
Other Links: manifest | tags
Context
2014-05-06
21:28
Deleted huge patch from original TclTCC distribution check-in: d00df72845 user: rkeene tags: trunk
20:12
Updated to test with package check-in: 5b5e7e38ed user: rkeene tags: trunk
06:06
Updated to normalize correctly check-in: af00e9d27e user: rkeene tags: trunk
Changes

Modified Makefile.in from [f3dd26de50] to [c1f1b242f5].

    82     82   			echo cp "$$src" "$$dst"; \
    83     83   			cp "$$src" "$$dst"; \
    84     84   		done
    85     85   
    86     86   test:
    87     87   	rm -rf __TMP__
    88     88   	$(MAKE) install tcllibdir=$(shell pwd)/__TMP__
    89         -	cd __TMP__/* && ../../test
           89  +	-if [ "$(PACKAGE_VERSION)" = '@@VERS@@' ]; then cd __TMP__/* && sed -i 's|@@VERS@@|0.0.0.11|g' tcc4tcl.@SHOBJEXT@ pkgIndex.tcl; fi
           90  +	tclsh test
    90     91   	echo Tests Completed OK > TEST-STATUS
    91     92   	rm -rf __TMP__
    92     93   
    93     94   clean:
    94     95   	rm -f tcc4tcl.o
    95     96   	rm -f tcc4tcl.@SHOBJEXT@ tcc4tcl-static.a
    96     97   	rm -f tcc4tcl.@SHOBJEXT@.a tcc4tcl.@SHOBJEXT@.def

Modified test from [c72233bf30] to [e0d226705d].

     1      1   #! /usr/bin/env tclsh
     2      2   
     3         -source tcc4tcl.tcl
            3  +lappend auto_path __TMP__
            4  +package require tcc4tcl
            5  +
     4      6   tcc4tcl::cproc test {int i} int { return(i+42); }
     5      7   tcc4tcl::cproc test1 {int i} int { return(i+42); }
     6      8   puts [test 1]