Commit Graph

120 Commits

Author SHA1 Message Date
Ryan C. Thompson
4ce49b073d Add information about test-recipe.sh 2012-03-04 12:40:16 -08:00
Ryan C. Thompson
80de27bfeb Minor fix for test-all-recipes.sh
It had "exec" at the beginning of the command that it tolde the user
to run, which would replace the user's running shell. This is now
removed.
2012-03-04 12:39:59 -08:00
Ryan C. Thompson
4480375f12 Add information about run-test.sh to test/README 2012-03-04 12:35:46 -08:00
Ryan C. Thompson
5db03e885b More intelligent test file guessing.
Now you can say "test/run-test.sh 303" to run the test
"test/el-get-issue-303.el"

Also, give an explicit error message when a test file does not exist.
2012-03-04 12:35:46 -08:00
Ryan C. Thompson
d564974ca2 Remove extra load-path from test 310
It was harmless but unnecessary.
2012-03-04 12:14:22 -08:00
Ryan C. Thompson
70990726c4 Enable debug on error in interactive tests 2012-03-04 12:14:22 -08:00
Takafumi Arakaki
24bc27930f Add Add test for issue #632 2012-03-04 00:16:19 +01:00
Ryan C. Thompson
b2a12748e9 Add test for #628 2012-03-02 15:46:53 -08:00
Ryan C. Thompson
da74bc2565 Fix test for #613 2012-03-02 15:38:40 -08:00
Ryan C. Thompson
0a3c869bad Merge branch 'autoload-pre-init'
Conflicts:
	recipes/wrap-region.rcp
2012-03-02 15:22:04 -08:00
Ryan Thompson
b80409eedc Merge pull request #617 from DarwinAwardWinner/method-guess-website
Method guess website
2012-03-02 15:20:32 -08:00
Ryan C. Thompson
c3964826f7 Add test for hg checksum functionality 2012-02-29 14:19:51 -08:00
Ryan C. Thompson
b0ba0acebb Merge branch 'cvs-proxy' 2012-02-28 18:23:01 -08:00
Ryan C. Thompson
04f7c866a1 Add test for website guessing (#615) 2012-02-28 17:57:55 -08:00
Ryan C. Thompson
ad6c3d8606 Add test for issue #613 2012-02-28 16:39:08 -08:00
Ryan C. Thompson
9fa5267740 Remove "(require 'el-get)" from test files 2012-02-27 11:47:42 -08:00
Ryan C. Thompson
5e31f0a235 Test #407 now unloads el-get before running
This ensures that it will always try to install el-get during the
test.
2012-02-27 11:47:42 -08:00
Ryan C. Thompson
97eb450391 Require el-get.el before running each test interactively 2012-02-27 11:47:42 -08:00
Ryan C. Thompson
1ca737e4ad Require el-get.el before running each test 2012-02-27 11:47:42 -08:00
Ryan Thompson
c99db81dc3 Merge pull request #603 from DarwinAwardWinner/test-rate-limit
Sleep 5 seconds between tests
2012-02-27 10:46:49 -08: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
14e1d86200 Add test for installing package.rcp 2012-02-26 15:14:18 -08:00
Ryan C. Thompson
b2e7cb386f Add test for #592.
The test currently fails due to an unrelated bug.
2012-02-26 14:02:54 -08:00
Ryan C. Thompson
13ac53ac7c Fix comments in test 594 2012-02-26 14:01:08 -08:00
Ryan C. Thompson
38aac32c26 Add test for installing pymacs with empty PYTHONPATH 2012-02-26 02:51:42 -08:00
Ryan C. Thompson
a419103e06 Add test for installation via cvs
CVS proxy support can be tested by running this with the HTTP_PROXY
environment variable set.
2012-02-23 16:03:51 -08:00
Ryan C. Thompson
112a6c2e38 Merge branch 'lazy-fix' into recipe-auto-lambda
Conflicts:
	el-get.el
	recipes/clevercss.rcp
	recipes/coffee-mode.rcp
	recipes/full-ack.rcp
	recipes/mustache-mode.rcp
	recipes/n3-mode.rcp
	recipes/pylookup.rcp
	recipes/rhtml-mode.rcp
	recipes/sauron.rcp
	recipes/yaml-mode.rcp
2012-02-23 15:05:49 -08:00
Ryan C. Thompson
95968f5d47 Add test for prepare function 2012-02-23 14:40:32 -08:00
Ryan C. Thompson
ae8453db85 Add test for issue 589 2012-02-23 14:35:11 -08:00
Ryan C. Thompson
2b8c7ec8e3 Put real recipes last in test, since they take much longer 2012-02-22 14:58:48 -08:00
Ryan C. Thompson
3b9428297c Rewrite test function for db2d218 2012-02-22 14:46:22 -08:00
Ryan C. Thompson
99c06b66a0 Add some real recipes to the test case for issue 579 2012-02-22 14:46:22 -08:00
Ryan C. Thompson
cbaa97711d Add test for issue #579 2012-02-22 14:05:33 -08:00
Ryan C. Thompson
ee1bb6b542 Add test for github archive methods 2012-02-21 15:21:06 -08:00
Ryan C. Thompson
7429e0bb91 Test to make sure a broken recipe raises an error 2012-02-21 15:03:03 -08:00
Ryan C. Thompson
478cc65469 Add test for github and emacsmirror install methods 2012-02-21 15:02:26 -08:00
Dimitri Fontaine
3bebbeb519 Merge pull request #577 from DarwinAwardWinner/dep-fix
Fix for installing packages with already-installed dependencies
2012-02-21 13:02:49 -08:00
Ryan C. Thompson
7a05ba0b13 Add test for issue 586 2012-02-20 19:11:01 -08:00
Ryan C. Thompson
e25db9551f Add test for install-remove-reinstall pattern
This pattern seems to trigger the bug.
2012-02-20 12:48:40 -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
4a7b8f3b4c Add script to test all recipes
There is a "safety" to prevent it from being run accidentally. Whe
running it, it simply prints out the command that will test all the
recipes. The user must then paste that command back into the shell to
actually run the tests.
2012-02-20 02:24:10 -08:00
Ryan C. Thompson
885fdc8a53 Add interactive version of recipe tester 2012-02-20 02:13:24 -08:00
Ryan C. Thompson
f0663ba17f Add script for testing recipes 2012-02-20 02:12:33 -08:00
Ryan C. Thompson
83fbdaaedb Fix ipython recipe and add test for it 2012-02-20 01:10:15 -08:00
Ryan C. Thompson
5f9f87e9ac Add script for running test in interactive emacs
This allows you to do a post-mortem, inspecting the backtrace
interactively and so forth.
2012-02-20 00:23:35 -08:00
Ryan Thompson
eb275263b1 Merge pull request #541 from DarwinAwardWinner/bytecomp-load-path
Pass load-path to byte-compiling child process
2012-02-15 12:42:56 -08:00
Ryan C. Thompson
aaa0976756 Add test for issue 548 2012-02-13 21:31:16 -08:00
Ryan C. Thompson
3ab3ab7d9d Add test for byte-compilation 2012-02-13 17:04:58 -08:00
Ryan C. Thompson
6f0c9d93d2 Add support for ":shallow" property in git method 2012-02-12 12:49:14 -08:00
Ryan C. Thompson
e3940b3ed6 Add a some simple bash scripts for easily running tests 2012-02-12 01:23:09 -08:00
Dimitri Fontaine
bed23e1be6 Update test/test.el to match current el-get expectations. 3 test passes. 2011-10-25 21:11:25 +02:00
Dimitri Fontaine
9b810aa9a4 Use ert in test/test.el, thanks to Ted Zlatanov. 2011-10-25 21:02:06 +02:00
Dimitri Fontaine
ce8a7e3899 Fix el-get-byte-compile in recent Emacs snapshot.
byte-compile-file behaviour changed yet again, so stop trying to guess if we
can rely on it and just define our own behaviour.
2011-10-11 20:40:57 +02:00
Dimitri Fontaine
6edce206c7 Fix loading of autoloads at init time, I broke that in the refactoring. 2011-10-11 18:02:20 +02:00
Dimitri Fontaine
e6f7a35c41 Fix el-get-install handling of already installed dependencies, per #432. 2011-10-08 21:27:55 +02:00
Dimitri Fontaine
3d2f4c5e63 Fix el-get-install-or-init-info, per #418. 2011-10-03 22:06:40 +02:00
Dimitri Fontaine
6eb1318545 use url-retrieve-synchronously in init file, per #407 2011-09-30 20:53:56 +02:00
Dimitri Fontaine
afbf931456 Have php-mode.rcp eagerly load the feature to fix #400 2011-09-23 23:35:19 +02:00
Dimitri Fontaine
c4ff249c0d Add a test for issue #400.
That's not the same as actually fixing it, but I'm at a loss about how
exactly to do that.
2011-09-23 14:08:31 +02:00
Dimitri Fontaine
2f0170612e Have the tests depend on -L for the load-path, for portability. 2011-09-23 11:33:30 +02:00
Dimitri Fontaine
2dc060fd58 M-x delete-trailing-whitespace test/test.el. 2011-09-22 21:48:31 +02:00
Dimitri Fontaine
8db0c4d49b Fix the refactoring so that it actually works.
This includes teaching methods that they now work with a symbolp PACKAGE,
some more cleaning up, and some load-path adjustments now that a part of the
code is in a subdirectory (methods).

Also include some of the tests used to convince oneself that the refactoring
didn't break any and all use cases for el-get, with some rough documentation
about how to use them.
2011-09-22 21:48:11 +02:00
Dave Abrahams
6db7fc41d8 Make sure we can check for el-get being compiled even before it's been loaded. Catch errors during our wait for completion. Reorder waiting to make sure the process gets kicked off. 2011-03-02 16:49:02 -05:00
Dave Abrahams
504fd44943 Use run-at-time for repeating events, etc. 2011-03-01 22:01:05 -05:00
Dave Abrahams
dfd49b7763 Try to get more information from a test that times out 2011-03-01 19:47:40 -05:00
Dave Abrahams
e592c0eeac Only let the test succeed if el-get byte-compiles 2011-03-01 17:04:30 -05:00
Dave Abrahams
9158b9ded2 Try to force failures in installation to drop into the debuggger 2011-03-01 16:58:41 -05:00
Dave Abrahams
1d418ab4bf Let's make sure there's some record of having dropped into the
debugger, even if we're in a sentinel
2011-03-01 16:56:01 -05:00
Dave Abrahams
33bb2a3f92 Added the first test 2011-03-01 13:27:12 -05:00