xref: /llvm-project/lldb/examples/test/usage-config (revision 209cdbef6474d3bfcf4fcda49f9928b92fcdef35)
1*209cdbefSJohnny Chen# This is an example of using the "-c" option to source a config file to
2*209cdbefSJohnny Chen# reassign the system stderr and stdout and to exercise different combinations
3*209cdbefSJohnny Chen# of architectures and compilers.
4*209cdbefSJohnny Chen#
5*209cdbefSJohnny Chen# The config file is checked in as .lldbtest-config and the redirected stderr
6*209cdbefSJohnny Chen# and stdout are checked in as lldbtest-stderr and lldbtest-stdout, all in the
7*209cdbefSJohnny Chen# the same directory as this file.
8*209cdbefSJohnny Chen
9*209cdbefSJohnny Chen[15:36:32] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v -c ~/.lldbtest-config persistent_variables
10*209cdbefSJohnny Chen[15:40:55] johnny:/Volumes/data/lldb/svn/trunk/test $
11