lit: Add 'cd' support to the internal shell and port some tests
authorReid Kleckner <reid@kleckner.net>
Mon, 2 Mar 2015 21:33:18 +0000 (21:33 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 2 Mar 2015 21:33:18 +0000 (21:33 +0000)
commit2dc2d3f820494f5041905121472ca199858807d1
treefca71510afee93bc20620d950478dddba4caaadb
parent4d1d4bad1374c32f6ce637ecc13ac7f27d5dcfe1
lit: Add 'cd' support to the internal shell and port some tests

The internal shell was already threading around a 'cwd' parameter. We
just have to make it mutable so that we can update it as the test script
executes.

If the shell ever grows support for environment variable substitution,
we could also implement support for export.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231017 91177308-0d34-0410-b5e6-96231b3b80d8
test/Linker/targettriple.ll
test/Object/archive-delete.test
test/Object/archive-extract-dir.test
test/Object/archive-format.test
test/Object/archive-move.test
test/Object/archive-update.test
test/Object/extract.ll
test/Object/nm-trivial-object.test
test/tools/llvm-cov/llvm-cov.test
utils/lit/lit/TestRunner.py