llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Ebuka Ezike (da-viper)

<details>
<summary>Changes</summary>

the `skipTestIfFn` requires a function that return a string to skip or None to 
run the test. The `isUbuntu18_04` function returns a bool and the test is 
skipped on all platforms.


https://github.com/llvm/llvm-project/blob/25ebdfe0ab202a6cb30232d84bc5838439fd67d5/lldb/packages/Python/lldbsuite/test/decorators.py#L145-L157

---
Full diff: https://github.com/llvm/llvm-project/pull/157872.diff


1 Files Affected:

- (modified) 
lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py 
(+2-2) 


``````````diff
diff --git 
a/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py 
b/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py
index 74e7c895c0fab..a8f98ef0f0182 100644
--- 
a/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py
+++ 
b/lldb/test/API/functionalities/rerun_and_expr_dylib/TestRerunAndExprDylib.py
@@ -20,9 +20,9 @@ def isUbuntu18_04():
             with open(path) as f:
                 contents = f.read()
             if "Ubuntu 18.04" in contents:
-                return True
+                return "Ubuntu 18.04 is not supported."
 
-    return False
+    return None
 
 
 class TestRerunExprDylib(TestBase):

``````````

</details>


https://github.com/llvm/llvm-project/pull/157872
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to