summary refs log tree commit diff
path: root/src/test/run-make/c-dynamic-dylib
AgeCommit message (Collapse)AuthorLines
2014-02-21mk: Get "make check" passing with --disable-rpathAlex Crichton-5/+0
This involves passing through LD_LIBRARY_PATH through more places, specifically in the compiletest, run-make, and doctest runners.
2014-02-14extern mod => extern crateAlex Crichton-1/+1
This was previously implemented, and it just needed a snapshot to go through
2014-02-07Added tests to make tidyDerek Guenther-0/+20
2014-01-22Set LD_LIBRARY_PATH on linux for c-dynamic-dylib testAndrew Chin-0/+5
Else, libfoo can't find libcfoo.so. bar has an rpath, which lets it find libfoo. But libfoo doesn't have an rapth that tells it where to find libcfoo
2013-11-29Add a new run-make test directoryAlex Crichton-0/+30
This infrastructure is meant to support runnings tests that involve various interesting interdependencies about the types of crates being linked or possibly interacting with C libraries. The goal of these make tests is to not restrict them to a particular test runner, but allow each test to run its own tests. To this end, there is a new src/test/run-make directory which has sub-folders of tests. Each test requires a `Makefile`, and running the tests constitues simply running `make` inside the directory. The new target is `check-stageN-rmake`. These tests will have the destination directory (as TMPDIR) and the local rust compiler (as RUSTC) passed along to them. There is also some helpful cross-platform utilities included in src/test/run-make/tools.mk to aid with compiling C programs and running them. The impetus for adding this new test suite is to allow various interesting forms of testing rust linkage. All of the tests initially added are various flavors of compiling Rust and C with one another as well as just making sure that rust linkage works in general. Closes #10434