Commit Graph

103 Commits

Author SHA1 Message Date
Ryan C. Thompson
b13dd5ded7 Add test case for #741.
Currently failing
2012-05-13 11:59:06 -07:00
Ryan C. Thompson
4b86f11adc Add script for starting a vanilla emacs with el-get loaded
Unlike the other test scripts, this doesn't run a test or install a
recipe or anything. It just opens up emacs with el-get ready to go so
you can do manual testing.
2012-05-06 00:24:06 -07:00
Ryan C. Thompson
3b7777b6e6 Clean up temp files created during tests 2012-05-06 00:24:06 -07:00
Ryan C. Thompson
c7e53f5695 Wrap some lines in test/README 2012-04-07 12:26:34 -07:00
Ryan C. Thompson
cb787b2a7a Always print with "print-level" and "print-length" nil
This prevents Emacs from inserting "..." in place of very deep or long
data structures, which could corrupt the status file in some cases.
This is done by defining a wrapper function "el-get-print-to-string",
which el-get should use for all "critical" stringification tasks.

As noted in #689.
2012-03-29 14:52:43 -07:00
Ryan C. Thompson
426cf23718 Add additional assertions to test #407.
Ensures that all el-get features are unloaded before attempting to
install from scratch.
2012-03-29 13:00:09 -07:00
Ryan C. Thompson
d258447245 Add test for #683. 2012-03-24 15:44:51 -07:00
Ryan C. Thompson
1fdcc0f72a Fix typo in test-setup.el 2012-03-18 15:21:27 -07:00
Ryan C. Thompson
647bba5a25 Highlight test failures in run-all-tests.sh
This uses the ack program. If ack is not available, then it falls back
to cat, which obviously does no highlighting.
2012-03-18 14:52:45 -07:00
Ryan C. Thompson
5670983354 Merge branch 'save-only-installed-recipes' into dimitri-master 2012-03-18 14:12:47 -07:00
Ryan C. Thompson
e0660e0568 Merge branch 'setq-in-tests' into dimitri-master 2012-03-18 14:08:17 -07:00
Ryan C. Thompson
048970a76e Prevent notification errors in test for #407.
This is necessary because the stable version of el-get (which gets
installed during this test) may be too old to support
`el-get-notify-type'.
2012-03-18 13:36:49 -07:00
Ryan C. Thompson
4a73ded92d Set "el-get-notify-type" to 'message in tests
This prevents tests from hitting errors due to notification issues.
2012-03-18 13:30:38 -07:00
Ryan C. Thompson
6d75c14cc5 Add test for #672 2012-03-18 12:56:50 -07:00
Ryan C. Thompson
1fb104010c Use setq instead of let in tests
This makes it easier to run tests interactively and inspect the
results afterward, because the variables such as "el-get-sources" that
were set for the tests are still bound to the values they had during
the test.
2012-03-18 12:33:04 -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
06a5994363 Add test for issue #656. 2012-03-09 14:27:45 -08:00
Ryan C. Thompson
ac6c72c2dd Fix test #592
Conflicts:

	test/el-get-issue-592.el
2012-03-09 13:03:23 -08:00
Ryan Thompson
5481256566 Merge pull request #651 from DarwinAwardWinner/remove-from-status-dynamic
Use dynamic binding to force usage of status recipes
2012-03-08 14:54:59 -08:00
Ryan C. Thompson
c29d32843b Extend test for #650 to cover reload and checksum 2012-03-08 13:03:03 -08:00
Ryan C. Thompson
38064a6a05 Add test for #652. 2012-03-08 11:58:39 -08:00
Ryan C. Thompson
7887696bb2 Add (currently-failing) test for issue #560 2012-03-07 18:07:44 -08:00
Ryan C. Thompson
f4a4deeab7 Rename caching speedtest to exclude it from run-all-tests.sh 2012-03-07 12:41:10 -08:00
Ryan C. Thompson
6084d91cb3 Add status caching benchmark script.
Run it with the usual run-test.sh
2012-03-07 12:38:08 -08:00
Ryan Thompson
6309740388 Merge pull request #643 from DarwinAwardWinner/reinstall-on-type-change
Reinstall on type change
2012-03-07 08:09:09 -08:00
Ryan C. Thompson
f69fbb1ac0 Add failing test for issue #640. 2012-03-06 11:56:50 -08:00
Ryan C. Thompson
14a7b02ac1 Add test for #642 2012-03-06 10:07:43 -08:00
Ryan C. Thompson
6575ff8170 Fix run-test-interactive filename guessing 2012-03-06 01:24:02 -08:00
Takafumi Arakaki
b6f5dcf1b2 el-get-hg-compute-checksum returns full 40-digit hex now 2012-03-05 19:21:55 +01:00
Ryan C. Thompson
676fa8f71f Merge branch 'prevent-notify-error' 2012-03-05 08:47:00 -08:00
Ryan C. Thompson
b997bce927 Merge branch 'load-path-nil' 2012-03-05 08:42:58 -08:00
Ryan C. Thompson
3ab59b16d0 Grammar fix in assertion comment 2012-03-05 08:42:38 -08:00
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