Add atom-debug-test scheme which automatically runs tests when atom starts

This commit is contained in:
Corey Johnson 2012-07-10 15:04:02 -07:00
parent 61cfbe530b
commit 84e6c04af2
2 changed files with 94 additions and 0 deletions

View File

@ -1142,6 +1142,7 @@
LIBRARY_SEARCH_PATHS = ( LIBRARY_SEARCH_PATHS = (
"$(SDKROOT)/System/Library/Frameworks", "$(SDKROOT)/System/Library/Frameworks",
"\"$(SRCROOT)/frameworks\"", "\"$(SRCROOT)/frameworks\"",
"\"$(SDKROOT)/usr/lib/system\"",
); );
OTHER_CFLAGS = ( OTHER_CFLAGS = (
"-fno-strict-aliasing", "-fno-strict-aliasing",
@ -1188,6 +1189,7 @@
LIBRARY_SEARCH_PATHS = ( LIBRARY_SEARCH_PATHS = (
"$(SDKROOT)/System/Library/Frameworks", "$(SDKROOT)/System/Library/Frameworks",
"\"$(SRCROOT)/frameworks\"", "\"$(SRCROOT)/frameworks\"",
"\"$(SDKROOT)/usr/lib/system\"",
); );
OTHER_CFLAGS = "-fno-strict-aliasing"; OTHER_CFLAGS = "-fno-strict-aliasing";
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (

View File

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0430"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0487C91114FED5360045E5E3"
BuildableName = "Atom.app"
BlueprintName = "Atom"
ReferencedContainer = "container:Atom.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0487C91114FED5360045E5E3"
BuildableName = "Atom.app"
BlueprintName = "Atom"
ReferencedContainer = "container:Atom.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0487C91114FED5360045E5E3"
BuildableName = "Atom.app"
BlueprintName = "Atom"
ReferencedContainer = "container:Atom.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "--test"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "0487C91114FED5360045E5E3"
BuildableName = "Atom.app"
BlueprintName = "Atom"
ReferencedContainer = "container:Atom.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>