xref: /llvm-project/lldb/test/Shell/ScriptInterpreter/Python/silent_command_script_import.test (revision 3338819b08faa7f23f65fb4e67154583984ebf5c)
1*488fcea3SJonas Devlieghere# RUN: rm -rf %t && mkdir -p %t
2*488fcea3SJonas Devlieghere# RUN: echo "print('Rene Magritte')" >> %t/foo.py
3f9517353SJonas Devlieghere
4*488fcea3SJonas Devlieghere# RUN: %lldb --script-language python -o 'command script import %t/foo.py' 2>&1 | FileCheck %s
5*488fcea3SJonas Devlieghere# RUN: %lldb --script-language python -o 'command script import -s %t/foo.py' 2>&1 | FileCheck %s --check-prefix SILENT
6*488fcea3SJonas Devlieghere# RUN: %lldb --script-language python -o 'command script import --silent %t/foo.py' 2>&1 | FileCheck %s --check-prefix SILENT
7*488fcea3SJonas Devlieghere
8*488fcea3SJonas DevlieghereCHECK: Rene Magritte
9*488fcea3SJonas DevlieghereSILENT-NOT: Rene Magritte
10