aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test.fish
Commit message (Collapse)AuthorAge
* make testing on local servers hermeticGravatar Kurtis Rader2016-02-25
| | | | | | | | | | | | | | | | | | I noticed while fixing issue #2702 that the fish program being tested was sourcing config.fish files outside of the current build. This also happens when Travis CI runs the tests but isn't an issue there because of how Travis is configured to execute the tests. I also noticed that running `make test` was polluting my personal fish history; which will become a bigger problem if and when the fishd universal var file is moved from $XDG_CONFIG_HOME to $XDG_DATA_HOME. This change makes it possible for an individual to run the tests on their local machine secure in the knowledge that only the config.fish and related files from their git repository will be used and doing so won't pollute their personal fish history. Resolves #469
* fix unit tests related to the escape timeoutGravatar Kurtis Rader2015-12-23
|
* Allow running specific high-level tests by passing the name to test.fishGravatar ridiculousfish2014-12-23
| | | | | | Example: tests/test.fish expansion This will run the tests in expansion.in only
* Tweak test runner to set up environment betterGravatar Kevin Ballard2014-11-24
| | | | | | Update the test runners so they set up their own environment in test_util.fish. This simplifies the Makefile and paves the way for adding utility functions for use in the tests themselves.
* Rewrite fishscript testrunner for better outputGravatar Kevin Ballard2014-10-02
| | | | | Update the fishscript testrunner to use the same output style as the interactive testrunner.
* Rejigger test suiteGravatar Kevin Ballard2014-09-23
| | | | | | | | | | Split test_interactive off from test_fishscript and add a new target test_high_level that tests both. Add some Makefile magic so the tests can be run serially without using sub-make, which gets rid of a little noise from the make output. Rewrite interactive tests to look better.
* Add a test harness for interactive behaviorGravatar Kevin Ballard2014-09-07
| | | | | | | Add a test harness that uses `expect` to drive Fish to test interactive behavior. Include some tests for `read`.
* Cleanup fish tests a bitGravatar Kevin Ballard2014-09-07
| | | | | | | | | Split `make test` into two targets `make test_low_level` and `make test_fishscript`, primarily so fishscript tests can be rechecked quickly after edits. Reformat the test.fish file and update some of the code to be a little more straightforward (e.g. `if not cmd` instead of `if cmd; else`).
* Fix test output for `complete -e` testsGravatar Kevin Ballard2014-09-02
| | | | | GNU sort behaves stupidly when LC_ALL is not C. This caused the test output to be sorted wrong.
* Make the test harness output file diffs on failureGravatar ridiculousfish2014-02-04
|
* Makefile/tests: use return values to communicate errorsGravatar David Adam2014-01-15
|
* fix a memory leak in profiling, add a profiling testGravatar Jan Kanis2013-01-14
|
* don't parse the options that should be passed to fish scriptsGravatar Grissiom2010-10-03
| | | | | | This commit makes fish_parse_opt stop at first non-option argument, which expected as fish script name and pass the remaining argument to that script. I also updated the test cases.
* remove trialing spaces #2Gravatar Grissiom2010-09-18
|
* Add subdirectoriesGravatar axel2005-09-20
darcs-hash:20050920133155-ac50b-9a14c6c664dd03afbe8e15e7c7998fcfb5c3c750.gz