| Commit message (Collapse) | Author | Age |
... | |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is needed so that th unit tests library compiles on 64-bit machines
correctly.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tests will be written using the [moonscript](http://moonscript.org/) language,
a lua 'dialect' that is whitespace-significant and has a syntax similar to
coffeescript. The test framework used is [busted](http://olivinelabs.com/busted/),
a bdd framework for lua/moonscript.
Luajit has a nice ffi module, which lets lua programs link shared libraries and
call it's functions without writing any C code.
To take advantage of this fact for testing C functions, a new target was added
to CMakeLists.txt, which compiles neovim as a shared library that is loaded by
the process running the tests.
This commit adds necessary code for downloading and installing a lua package
manager(luarocks) locally. It wasn't added as a subtree because there are quite
a few blobs in its source tree.
|
|
|
|
|
| |
This is necessary to keep the build from 'erroring' since running the tests
with valgrind will take a long time
|
|
|
|
| |
This should fix previous build failures
|
| |
|
|
|
|
| |
It was broke because the ls command failed when no valgrind.* file were found
|
| |
|
|
|
|
|
| |
This will slow down testing but will detect pull requests that introduce memory
leaks.
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
Rename file to reflect new intent of script. Libuv is bundled into the
third-party directory. Modify the script to compile but not fetch libuv.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This way it won't show up in travis-ci like:
0% [ ] 0 --.-K/s
100%[======================================>] 371,453 --.-K/s
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now it checks for the existance of curl after
failing to find wget.
Note that I ended up removing the quotes around $url
when referencing it in the call to wget, since urls can't have spaces
anyways, and the correct quoting was messy.
To test, I did
rm -r .deps
make clean
make cmake
make
And it worked.
|
|/
|
|
|
| |
This allows the scripts to work on systems that don't have /bin/bash as
/bin/sh--such as Debian.
|
| |
|
| |
|
|
|