diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-08-19 00:54:27 +0000 | 
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-08-19 00:54:27 +0000 | 
| commit | 31963cea0ac25b2449f6e3ee88f9020b203cab7c (patch) | |
| tree | 49fecb058cef15106ab925ef5e173add334b84ff /llvm/lib/CodeGen/Passes.cpp | |
| parent | 9eb77bf6151ea278c7afbb3e370781f34a8ba5cc (diff) | |
| download | bcm5719-llvm-31963cea0ac25b2449f6e3ee88f9020b203cab7c.tar.gz bcm5719-llvm-31963cea0ac25b2449f6e3ee88f9020b203cab7c.zip | |
Add a decorator for marking clang only expectedFailure.  Use it for the test_step_over_3_times_with_dsym/dwarf()
test cases in TestThreadAPI.py by decorating it with @expectedFailureClang.
Example:
    @expectedFailureClang
    @python_api_test
    def test_step_over_3_times_with_dwarf(self):
        """Test Python SBThread.StepOver() API."""
        # We build a different executable than the default buildDwarf() does.
        d = {'CXX_SOURCES': 'main2.cpp', 'EXE': self.exe_name}
        self.buildDwarf(dictionary=d)
        self.setTearDownCleanup(dictionary=d)
        self.step_over_3_times(self.exe_name)
llvm-svn: 138019
Diffstat (limited to 'llvm/lib/CodeGen/Passes.cpp')
0 files changed, 0 insertions, 0 deletions

