config/application.rb in origen_testers-0.20.0 vs config/application.rb in origen_testers-0.21.0
- old
+ new
@@ -2,10 +2,11 @@
# See http://origen.freescale.net/origen/latest/api/Origen/Application/Configuration.html
# for a full list of the configuration options available
config.shared = {
command_launcher: "config/shared_commands.rb",
+ global_launcher: "config/global_commands.rb",
origen_guides: "templates/origen_guides",
origen_guides_index: -> (index) do
index.section :pattern, heading: "Pattern Generator", after: :controllers do |section|
section.page :introduction, heading: "Introduction"
section.page :creating, heading: "Creating Patterns"
@@ -16,10 +17,11 @@
section.page :name, heading: "Generating by Name"
section.page :common, heading: "Common API"
section.page :j750, heading: "J750 API"
section.page :v93k, heading: "V93K API"
section.page :ultraflex, heading: "UltraFlex API"
+ section.page :stil, heading: "STIL & Other Formats"
section.page :custom, heading: "Custom Testers"
section.page :running, heading: "Running The PatGen"
end
index.section :program, heading: "Test Program Generator", after: :pattern do |section|
section.page :introduction, heading: "Introduction"
@@ -82,16 +84,16 @@
# Check if running on windows, if so, substitute :: with _
dir.gsub!("::","_") if Origen.os.windows?
dir
end
- # Setting this to the spec area for testing of compiler
- config.pattern_output_directory do
- dir = "#{Origen.root}/spec/patterns/atp"
- # Check if running on windows, if so, substitute :: with _
- dir.gsub!("::","_") if Origen.os.windows?
- dir
- end
+# config.pattern_output_directory do
+# # Setting this to the spec area for testing of compiler
+# dir = "#{Origen.root}/spec/patterns/atp"
+# # Check if running on windows, if so, substitute :: with _
+# dir.gsub!("::","_") if Origen.os.windows?
+# dir
+# end
# Run the tests before deploying to generate test coverage numbers
def before_deploy_site
Dir.chdir Origen.root do
system 'origen examples -c'