summary refs log tree commit diff stats
path: root/tests/testament
Commit message (Expand)AuthorAgeFilesLines
* [Testament] Extend and document message testing aids (#19996)quantimnot2022-09-012-2/+9
* testament :show duration also for failed tests; improve `tshould_not_work`; m...Timothee Cour2021-05-081-19/+34
* testament: add `nimoutFull: bool` spec (#17867)Timothee Cour2021-04-271-0/+2
* megatest: allow duplicate file names, show compilation progress (#17713)Timothee Cour2021-04-131-0/+1
* fix testament regression: installed testament works again with testament r pa...Timothee Cour2021-01-201-0/+9
* fix #16576: honor matrix in testament by making such tests non joinable (#16577)Timothee Cour2021-01-042-0/+15
* fix #16330 tshould_not_work (#16342)Timothee Cour2020-12-141-3/+1
* fix #14242 `testament r tests/js/foo` now works; testament now honors --targe...Timothee Cour2020-11-281-14/+14
* add tests for Testament "reject" action (#15709)n5m2020-10-272-0/+8
* expect valgrind test failure on memory leak (#15669)n5m2020-10-221-0/+2
* misc testament cleanups (#14764)Timothee Cour2020-06-231-0/+2
* test suite: rename tests containing 'fail' for easier search in logsAraq2019-11-261-0/+0
* added a testcase for #12195; testament now supports a 'timeout' spec fieldAraq2019-09-171-0/+2
* make testament a tool we ship with Nim; fixes #12084 (#12088)Andreas Rumpf2019-08-301-1/+1
* lots of testament bug fixes and improvements: (#10044)Timothee Cour2018-12-201-11/+11
* tshouldfail is stricterArne Döring2018-12-111-0/+14
* allow to disable backend loggingArne Döring2018-12-111-1/+1
* Tester tests (#9787)Arne Döring2018-11-271-0/+17
* Testament pre parallel (#9137)Jacek Sieka2018-10-128-1979/+0
* compiler: show name of instantiating context in error traces (#6763) (#9207)xzfc2018-10-111-1/+4
* Fix ioTests category after renameSergey Avseyev2018-09-291-1/+1
* testament: quote categories too because of 'dir with space' testAraq2018-09-261-2/+2
* disable Nimble dependencies for appveyorAraq2018-09-141-1/+1
* HTML generation in testament works again (#8702)LemonBoy2018-08-211-2/+2
* Merge branch 'araq-misc' into develAraq2018-08-162-3/+7
|\
| * Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-161-3/+7
| |\
| * \ Merge branch 'devel' into araq-miscAraq2018-08-132-1/+5
| |\ \
| * | | make NimInAction tests greenAraq2018-08-131-0/+2
| * | | testament: change how JS tests are disable for travis on OSXAndreas Rumpf2018-08-132-3/+5
* | | | tester.nim add more diagnostics (#8631)Timothee Cour2018-08-161-1/+3
| |_|/ |/| |
* | | Haiku support for Nim (#8542)alaviss2018-08-141-3/+7
| |/ |/|
* | Clarify usage of "Test" argument in Koch (#8613)Naveen Arunachalam2018-08-121-1/+1
* | Preliminary check for test category folder existence (#8579)LemonBoy2018-08-101-0/+4
|/
* travis/testament: disable JS tests on OSXAndreas Rumpf2018-08-061-2/+4
* make 'flags' test green on OSXAndreas Rumpf2018-08-061-1/+1
* Testament should run tests with no action (#8232)genotrance2018-07-081-0/+2
* make tests green againAndreas Rumpf2018-07-051-0/+1
* Merge pull request #7771 from nim-lang/nim-in-action-fixesAndreas Rumpf2018-06-191-1/+37
|\
| * Workaround VM bug in strutilsDominik Picheta2018-06-171-2/+2
| * Adds smaller code samples from Chapters 1-3 to the tester.Dominik Picheta2018-06-171-1/+37
* | testament: minor code formating changeAndreas Rumpf2018-06-171-1/+1
|/
* Support multi byte characters in module names (#7916)Oscar Nihlgård2018-05-311-1/+1
* make the tester compile without warningsAndreas Rumpf2018-05-061-4/+4
* Fixes #802, #803 and #3775 - genscript issues (#7677)genotrance2018-04-254-10/+47
* unittest: default no color if stdout is not a tty (#7424)Xiao-Yong2018-04-121-1/+1
* fixes #7236Andreas Rumpf2018-02-261-2/+3
* disable symbol file tests for the old symbol file implementationAraq2018-02-191-2/+3
* Fix longgc category tests (#7095)Sergey Avseyev2018-01-221-2/+2
* Merge pull request #7023 from yglukhov/unify-asyncDominik Picheta2018-01-171-1/+2
|\
| * Unify async macro and futures for js and native targetsYuriy Glukhov2018-01-051-1/+2

      
                                                      
 
     


                      
                                                                                                             




                                              

            
            
                   

         
                                                                                                               








                                                                         
                                                                                                               

                                 
NAME = ranger
VERSION = 1.0.4
PYTHON ?= python
DOCDIR ?= doc/pydoc
PREFIX ?= /usr/local
PYTHONOPTIMIZE ?= 2
CWD = $(shell pwd)
EDITOR ?= vim
DEST ?= $(shell $(PYTHON) -c 'import sys; sys.stdout.write( \
	[p for p in sys.path if "site" in p][0])' 2> /dev/null)/ranger

.PHONY: all compile clean doc cleandoc edit push test commit \
	install uninstall info snapshot minimal_snapshot

info:
	@echo 'This makefile provides shortcuts for common tasks.'
	@echo 'make clean: Remove all unnecessary files (.pyc, .pyo)'
	@echo 'make cleandoc: Remove the pydoc documentation'
	@echo 'make doc: Create the pydoc documentation'
	@echo 'make install: Install ranger'
	@echo 'make snapshot: Create a tar.gz of the current git revision'
	@echo
	@echo 'For developers:'
	@echo 'make commit: Test and commit the changes'
	@echo 'make test: Run all unittests.'
	@echo 'make push: push the changes via git'
	@echo 'make edit: open all relevant files in your editor'

all: test install

compile: clean
	@echo 'Compiling...'
	python -m compileall -q ranger
	PYTHONOPTIMIZE=$(PYTHONOPTIMIZE) python -m compileall -q ranger

doc: cleandoc
	mkdir -p $(DOCDIR)
	cd $(DOCDIR); \
		$(PYTHON) -c 'import pydoc, sys; \
		sys.path[0] = "$(CWD)"; \
		pydoc.writedocs("$(CWD)")'

uninstall:
	@echo 'To uninstall ranger, please remove these files:'
	@echo $(DEST)'/*'
	@echo $(PREFIX)'/bin/ranger'
	@echo 'and optionally the config files at:'
	@echo '~/.ranger'

install: compile
	@if [ '$(DEST)' == '/ranger' ]; then \
		echo 'Cannot find a suitable destination for the files.'; \
		false; \
	fi
	@echo "Installing..."
	cp ranger.py $(PREFIX)/bin/ranger
	cp -ruT ranger $(DEST)
	chmod 755 $(PREFIX)/bin/ranger
	chmod -R +rX $(DEST)
	@echo '--------------------------------------'
	@echo 'Finished.'
	@echo 'If you use BASH or ZSH, you can activate an extra feature now:'
	@echo 'When you exit ranger, the directory of the current shell can be'
	@echo 'changed to the last visited directory in ranger.  To do so, add'
	@echo 'this alias to your shell rc file (like ~/.bashrc):'
	@echo 'alias rng="source ranger ranger"'
	@echo 'And run ranger by typing rng.'


cleandoc:
	test -d $(DOCDIR) && rm -f -- $(DOCDIR)/*.html

clean:
	find . -regex [^\ ]\*.py[co]$ | xargs rm -f --

test:
	./all_tests.py

edit:
	@$(EDITOR) ranger.py Makefile README COPYING HACKING INSTALL $(shell find ranger test -regex .\*py$ )

push:
	@for repo in $(shell git remote); do \
		echo "Pushing to $$repo..."; \
		git push $$repo master; \
	done

commit: test
	@git citool

snapshot:
	git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-8).tar.gz

minimal_snapshot:
	@echo 'This is not quite working well. I will abort now' && false
	git checkout -b no_help
	git rm -rf doc
	git rm -rf test
	git rm all_tests.py
	git rm TODO
	git commit -a -m'removed documentation'
	git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-list HEAD | head -n 1 | cut -b 1-8).tar.gz
	git reset --hard no_help^
	git branch -D no_help