diff options
| -rw-r--r-- | lldb/test/lldbtest.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py index a39be843cb9..dcb4a753120 100644 --- a/lldb/test/lldbtest.py +++ b/lldb/test/lldbtest.py @@ -1389,7 +1389,10 @@ class Base(unittest2.TestCase): def getPlatform(self): """Returns the platform the test suite is running on.""" - return lldb.DBG.GetSelectedPlatform().GetTriple().split('-')[2] + platform = lldb.DBG.GetSelectedPlatform().GetTriple().split('-')[2] + if platform.startswith('freebsd'): + platform = 'freebsd' + return platform def isIntelCompiler(self): """ Returns true if using an Intel (ICC) compiler, false otherwise. """ |

