Note, if you are ssh'ed into the machine you are trying to run the testsuite on on Mac OS X, you'll have to run it as root, otherwise you won't be able to launch processes in the debugger. There's a shaggy dog story relating to that which is about as worth listening to as all other shaggy dog stories.
You can use the -R option to relocate the test output files (normally these get written to the test directory) to keep root from leaving files in your source directory. Jim On Jun 18, 2013, at 3:44 PM, Greg Clayton <[email protected]> wrote: > cd lldb/test > caffeinate ./dotest.py --compiler `xcrun -find clang` > > "caffeinate" will stop your machine from going to sleep while running the > test suite if you leave it and the screen saver comes on. We use the default > Xcode compile by specifying "--compiler `xcrun -find clang`". > > Greg > > On Jun 18, 2013, at 3:33 PM, Mike Sartain <[email protected]> wrote: > >> From: Greg Clayton [[email protected]] >>> If you edit your Xcode application preferences and set them like this: >>> ... >> >> If anyone has a problem with Xcode consistently crashing when you try to >> modify those settings, it will work if you don't have a project open. At >> least that was the case on my machine. >> >> I also ran into the "user interaction is not allowed" failure when building >> debugserver. Perhaps this is because I'm ssh'd to the box now? In any case, >> I google'd a bit, and came across this solution: >> >> http://stackoverflow.com/questions/577750/running-xcodebuild-from-a-forked-terminal >> >> Ran this: security unlock-keychain >> /Users/mikesart/Library/Keychains/login.keychain >> >> And can now build. If that's not ok, please let me know. >> >> So what is the best way to run the build verification tests on the Mac from >> the command line? I've tried various -scheme "Run Testsuite" type things, >> but nothing seems to happen. Just run dotest.py from the test directory? >> >> Thanks. >> -Mike > > _______________________________________________ > lldb-dev mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
