##// END OF EJS Templates
Checkpoint before merging with upstream
Checkpoint before merging with upstream

File last commit:

r1482:caaea8d2
r1482:caaea8d2
Show More
Makefile
66 lines | 1.3 KiB | text/x-makefile | MakefileLexer
Fernando Perez
Added Nose support for IPython doctests and extension modules.
r1334 # Set this prefix to where you want to install the plugin
PREFIX=~/usr/local
PREFIX=~/tmp/local
Fernando Perez
Checkpoint with more tests working....
r1420 NOSE0=nosetests -vs --with-doctest --doctest-tests
NOSE=nosetests -vvs --with-ipdoctest --doctest-tests --doctest-extension=txt
Fernando Perez
Complete first pass on testing system. All tests pass on my box. Whew....
r1435 SRC=ipdoctest.py setup.py ../decorators.py
Fernando Perez
Checkpoint with more tests working....
r1420
Fernando Perez
Checkpoint before merging with upstream
r1482 # Default target for clean 'make'
default: iplib
# The actual plugin installation
Fernando Perez
Added Nose support for IPython doctests and extension modules.
r1334 plugin: IPython_doctest_plugin.egg-info
Fernando Perez
Checkpoint before merging with upstream
r1482 # Simple targets that test one thing
simple: plugin simple.py
$(NOSE) simple.py
Fernando Perez
Checkpoint where tests are recognized. Random tests not working yet.
r1378 dtest: plugin dtexample.py
Fernando Perez
Checkpoint with more tests working....
r1420 $(NOSE) dtexample.py
Fernando Perez
Checkpoint where tests are recognized. Random tests not working yet.
r1378
Fernando Perez
Checkpoint before merging with upstream
r1482 rtest: plugin test_refs.py
Fernando Perez
Checkpoint with more tests working....
r1420 $(NOSE) test_refs.py
Fernando Perez
Added Nose support for IPython doctests and extension modules.
r1334 test: plugin dtexample.py
Fernando Perez
Checkpoint with more tests working....
r1420 $(NOSE) dtexample.py test*.py test*.txt
Fernando Perez
Added Nose support for IPython doctests and extension modules.
r1334
deb: plugin dtexample.py
Fernando Perez
Checkpoint with more tests working....
r1420 $(NOSE) test_combo.txt
Fernando Perez
Added Nose support for IPython doctests and extension modules.
r1334
Fernando Perez
Checkpoint before merging with upstream
r1482 # IPython tests
Fernando Perez
Checkpoint with more tests working....
r1420 deco:
Fernando Perez
Checkpoint before merging with upstream
r1482 $(NOSE0) -x IPython.testing.decorators
Fernando Perez
Complete first pass on testing system. All tests pass on my box. Whew....
r1435
Fernando Perez
Checkpoint before merging with upstream
r1482 magic: plugin
Fernando Perez
Complete first pass on testing system. All tests pass on my box. Whew....
r1435 $(NOSE) -x IPython.Magic
ipipe: plugin
$(NOSE) -x IPython.Extensions.ipipe
Fernando Perez
Checkpoint with more tests working....
r1420
Fernando Perez
Checkpoint before merging with upstream
r1482 iplib: plugin
$(NOSE) -x IPython.iplib
strd: plugin
nosetests -vs --with-doctest --doctest-tests IPython.strdispatch
$(NOSE) IPython.strdispatch
# All of ipython itself
ipython: plugin
$(NOSE) IPython
# Combined targets
sr: rtest strd
Fernando Perez
Checkpoint with more tests working....
r1420
Fernando Perez
Checkpoint before merging with upstream
r1482 base: dtest rtest test strd deco
Fernando Perez
Checkpoint with more tests working....
r1420
Fernando Perez
Checkpoint before merging with upstream
r1482 all: base ipython
Fernando Perez
Fixes to testing....
r1376
Fernando Perez
Checkpoint before merging with upstream
r1482 # Main plugin and cleanup
Fernando Perez
Checkpoint with more tests working....
r1420 IPython_doctest_plugin.egg-info: $(SRC)
Fernando Perez
Added Nose support for IPython doctests and extension modules.
r1334 python setup.py install --prefix=$(PREFIX)
touch $@
clean:
rm -rf IPython_doctest_plugin.egg-info *~ *pyc build/ dist/