diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-10-19 23:40:13 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-10-19 23:40:13 +0000 |
commit | 707d8228df9e228aa70fc63ac7b3f92be5d1c23d (patch) | |
tree | 8f89ad84ff0970171839cd61a489ea9f8258a1cc /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 3ee5cbde3d3bc1de2456a3fdf2c6d1d251959487 (diff) | |
download | llvm-707d8228df9e228aa70fc63ac7b3f92be5d1c23d.zip llvm-707d8228df9e228aa70fc63ac7b3f92be5d1c23d.tar.gz llvm-707d8228df9e228aa70fc63ac7b3f92be5d1c23d.tar.bz2 |
Restoring the original setting should be done more robustly by adding a hook function
to be run during tearDown() to effect the restore action instead of executing it inline
during the test method, because the test may already fail and bailout before the inline
restore action.
Fix test_set_output_path() and pass_run_args_and_env_vars() to use this mechanism.
llvm-svn: 116881
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions