Noam Postavsky
160552a6cf
refactor test_recipe into test-utils.sh
2014-04-22 21:30:09 -04:00
Noam Postavsky
eb7a90aaef
reuse code from test-utils.sh
2014-04-22 19:48:22 -04:00
Ryan C. Thompson
0dc9179614
Fixes for test scripts
...
* test-recipe.sh no longer fails due to missing el-get test directory
* test-recipe.sh and run-test.sh now do better jobs of cleaning up
* All test scripts now specify /bin/bash as interpreter
2012-10-06 19:16:18 -07:00
Ryan C. Thompson
349ea82c5c
Fix confusion in test files between TEMP_HOME and TEST_HOME
2012-06-03 07:52:22 -07:00
Ryan C. Thompson
d826ef1b30
Add ability to skip cleaning test dir between tests.
...
This is useful if you are testing the installation of a package with
lots of dependencies, since without cleaning the dependencies will not
need to be reinstalled at the beginning of each test run.
2012-05-27 11:39:25 -07:00
Ryan C. Thompson
3b7777b6e6
Clean up temp files created during tests
2012-05-06 00:24:06 -07:00
Ryan C. Thompson
141b2e594e
Add test-setup.el and use it in test scripts
...
Among other things, it ensures that the full backtrace of any error is printed in batch mode.
2012-03-15 10:01:13 -07:00
Ryan C. Thompson
5f07d5631d
Only sleep between tests (not after last one)
2012-03-12 16:29:40 -07:00
Ryan C. Thompson
d676e99e7d
Sleep 5 seconds between tests
...
This avoids accidentally DoSing the servers that host many packages,
such as GitHub or the ELPA servers.
2012-02-26 23:44:57 -08:00
Ryan C. Thompson
f1b374d869
Improve recipe testing scripts
...
Set el-get-default-process-sync to t, and activate the full
install-update-remove-reinstall cycle.
2012-02-20 12:41:57 -08:00
Ryan C. Thompson
9cae4734ce
Convert conditional error to an assertion
2012-02-20 02:37:44 -08:00
Ryan C. Thompson
f0663ba17f
Add script for testing recipes
2012-02-20 02:12:33 -08:00