Check-in [ecb01f7ca0]
Overview
Comment:Updated to name Test TCL script something other than "test" so it does not conflict with the "test" target in Make
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ecb01f7ca02023a22a7496891d37197aaad63708
User & Date: rkeene on 2014-06-21 15:43:52
Other Links: manifest | tags
Context
2014-06-21
15:47
Updated to call Tcl_InitStubs() with the current version of Tcl check-in: 4ac72a422f user: rkeene tags: trunk
15:43
Updated to name Test TCL script something other than "test" so it does not conflict with the "test" target in Make check-in: ecb01f7ca0 user: rkeene tags: trunk
15:31
Updated "make test" to not try to run sed on binary files check-in: 9aad02dffb user: rkeene tags: trunk
Changes

Modified Makefile.in from [ce45af3001] to [bf12e46800].

    83     83   			dstdir="$$(dirname "$$dst")"; \
    84     84   			mkdir -p "$$dstdir"; \
    85     85   			echo cp "$$src" "$$dst"; \
    86     86   			cp "$$src" "$$dst"; \
    87     87   		done
    88     88   	$(srcdir)/patch-headers.sh "$(DESTDIR)$(PACKAGE_INSTALL_DIR)/include"
    89     89   
    90         -test:
           90  +test: test.tcl
    91     91   	rm -rf __TMP__
    92     92   	$(MAKE) install tcllibdir=$(shell pwd)/__TMP__
    93     93   	-if [ "$(PACKAGE_VERSION)" = '@@VERS@@' ]; then cd __TMP__/* && ( \
    94     94   		for file in tcc4tcl.tcl pkgIndex.tcl; do \
    95     95   			sed 's/@@VERS@@/0.0/g' "$${file}" > "$${file}.new"; \
    96     96   			cat "$${file}.new" > "$${file}"; \
    97     97   			rm -f "$${file}.new"; \
    98     98   		done \
    99     99   	); fi
   100         -	$(TCLSH) $(srcdir)/test __TMP__
          100  +	$(TCLSH) $(srcdir)/test.tcl __TMP__
   101    101   	echo Tests Completed OK > TEST-STATUS
   102    102   	rm -rf __TMP__
   103    103   
   104    104   clean:
   105    105   	rm -f tcc4tcl.o
   106    106   	rm -f tcc4tcl.@SHOBJEXT@ tcc4tcl-static.a
   107    107   	rm -f tcc4tcl.@SHOBJEXT@.a tcc4tcl.@SHOBJEXT@.def

Name change from test to test.tcl.