''' pre-command ''' import sys import os from performance.logger import setup_loggers from shared import const from shared.precommands import PreCommands from test import EXENAME setup_loggers(True) precommands = PreCommands() precommands.existing(os.path.join(sys.path[0], const.SRCDIR), ('%s.csproj' % EXENAME)) precommands.add_startup_logging("Form1.cs", "InitializeComponent();") precommands.execute()
''' pre-command ''' import sys, os, subprocess from performance.logger import setup_loggers from shared import const from shared.precommands import PreCommands from test import EXENAME # For blazor3.2 the linker argument '--dump-dependencies' should be added statically to enable linker dump # For blazor5.0 the linker argument can be added to the command line as an msbuild property subprocess.run([ "dotnet", "workload", "uninstall", "microsoft-net-sdk-blazorwebassembly-aot" ]) subprocess.run(["dotnet", "workload", "uninstall", "wasm-tools"]) setup_loggers(True) precommands = PreCommands() precommands.existing("src", "BlazingPizza.sln") precommands.execute()
''' pre-command ''' import os import sys from performance.logger import setup_loggers from shared import const from shared.precommands import PreCommands from test import EXENAME setup_loggers(True) precommands = PreCommands() precommands.existing(os.path.join(sys.path[0], '50consoletemplate', '50consoletemplate.csproj')) precommands.execute()
''' pre-command ''' import sys import os, subprocess from performance.logger import setup_loggers from shared.precommands import PreCommands from shared import const from logging import getLogger setup_loggers(True) getLogger().info("Checking status of Microsoft-Windows-WPF Event manifest") exitcode = subprocess.call(['wevtutil', 'gp', 'Microsoft-Windows-WPF'], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) if (exitcode != 0): getLogger().info( "Microsoft-Windows-WPF Event manifest not installed, installing...") subprocess.call([ 'wevtutil', 'im', 'C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\WPF\\wpf-etw.man' ]) getLogger().info("Microsoft-Windows-WPF installed, continuing") precommands = PreCommands() precommands.existing(os.path.join(sys.path[0], const.SRCDIR), 'wpfsfc.csproj') precommands.execute()
''' pre-command ''' import sys import os from performance.logger import setup_loggers from shared.precommands import PreCommands from shared import const setup_loggers(True) precommands = PreCommands() precommands.existing(os.path.join(sys.path[0], const.SRCDIR, 'mvc'), 'mvc.csproj') precommands.execute()
''' pre-command ''' import sys import os from performance.logger import setup_loggers from shared.precommands import PreCommands from shared import const setup_loggers(True) precommands = PreCommands() precommands.existing(os.path.join(sys.path[0], const.SRCDIR), os.path.join('WpfLarge', 'WpfLarge.csproj')) precommands.execute()
''' pre-command ''' import sys import os from performance.logger import setup_loggers from shared.precommands import PreCommands from shared import const setup_loggers(True) precommands = PreCommands() precommands.existing(os.path.join(sys.path[0], const.SRCDIR), 'WinformsNetCorePerfApp1.csproj') precommands.execute()
''' pre-command ''' import sys import os from performance.logger import setup_loggers from shared.precommands import PreCommands from shared import const setup_loggers(True) precommands = PreCommands() precommands.existing(os.path.join(sys.path[0], const.SRCDIR), 'NetCoreApp.csproj') precommands.execute()