Commit 12588bbe authored by Daniel Honsel's avatar Daniel Honsel
Browse files

added run scripts

parent 4f7829a2
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
#!/bin/bash

if [ "$JAVA_HOME" == "" ]; then
   echo "JAVA_HOME environment variable not set! It must point to the directory of your Java Runtime >= 5.0";
   exit;
fi

JAVA_CMD="java -Xmx3g -Xss512m -jar t3q.jar"

if [[ $# > 0 && $1 == "--echo" ]]; then
	echo $JAVA_CMD
else
	$JAVA_CMD "$@"
fi
+14 −0
Original line number Diff line number Diff line
@echo off

if "%JAVA_HOME%" == "" (
    echo JAVA_HOME environment variable not set! It must point to the directory of your Java Runtime >= 7.0
    goto:eof
)

set JAVA_CMD=java -Xmx3g -Xss512m -jar .\t3q.jar

if "%1" == "--echo" (
	echo %JAVA_CMD%
) else (
	%JAVA_CMD% %*
)
+108 −0
Original line number Diff line number Diff line
<T3QConfig>
  <ConfigurationProfiles>
    <QualityCheckProfile>
      <profileName>defaultProfile</profileName>
      <profileVersion>v2.0.0</profileVersion>
      <resourceExtensionsRegExp>ttcn|ttcn3|3mp</resourceExtensionsRegExp>
      <ignoredResourceRegExp>.*IGNORED.*</ignoredResourceRegExp>
      <projectExtension>t3p</projectExtension>
      <settingRecursiveProcessing>true</settingRecursiveProcessing>
      <settingAbortOnError>true</settingAbortOnError>
      <loggingConfiguration>
        <showFullPath>false</showFullPath>
        <showFilename>true</showFilename>
        <showMessageClass>true</showMessageClass>
        <showDetails>true</showDetails>
        <logOutputPrefix>   </logOutputPrefix>
      </loggingConfiguration>
      <statShowSummary>true</statShowSummary>
      <statShowLOC>true</statShowLOC>
      <featureListImportedModuleNames>false</featureListImportedModuleNames>
      <featureListImportedModuleFileNames>false</featureListImportedModuleFileNames>
      <featureListImportingModuleNames>false</featureListImportingModuleNames>
      <featureListImportingModuleFileNames>false</featureListImportingModuleFileNames>
      <checkLogItemFormat>false</checkLogItemFormat>
      <checkLogStatementFormat>true</checkLogStatementFormat>
      <processSubsequentLogStatementsAsOne>true</processSubsequentLogStatementsAsOne>
      <logFormatRegExp>[\*]{3}\s([fta]_[a-zA-Z0-9]+?):\s(INFO|WARNING|ERROR|PASS|FAIL|INCONC|TIMEOUT):\s.*?[\*]{3}</logFormatRegExp>
      <checkExternalFunctionInvocationPrecededByLogStatement>true</checkExternalFunctionInvocationPrecededByLogStatement>
      <checkInconcOrFailSetVerdictPrecededByLog>true</checkInconcOrFailSetVerdictPrecededByLog>
      <checkNoLabelsOrGotoStatements>true</checkNoLabelsOrGotoStatements>
      <checkNoNestedAltStatements>true</checkNoNestedAltStatements>
      <maximumAllowedNestingDepth>0</maximumAllowedNestingDepth>
      <checkNoPermutationKeyword>true</checkNoPermutationKeyword>
      <checkNoAnyTypeKeyword>true</checkNoAnyTypeKeyword>
      <checkNoModifiedTemplateOfModifiedTemplate>true</checkNoModifiedTemplateOfModifiedTemplate>
      <checkNoAllKeywordInPortDefinitions>true</checkNoAllKeywordInPortDefinitions>
      <checkImportsComeFirst>true</checkImportsComeFirst>
      <checkLocalDefinitionsComeFirst>true</checkLocalDefinitionsComeFirst>
      <localDefinitionTypes>
        <string>VarInstance</string>
        <string>ConstDef</string>
        <string>TimerInstance</string>
        <string>PortInstance</string>
      </localDefinitionTypes>
      <checkTypeDefOrderInGroup>true</checkTypeDefOrderInGroup>
      <checkPortMessageGrouping>true</checkPortMessageGrouping>
      <checkNoDuplicatedModuleDefinitionIdentifiers>true</checkNoDuplicatedModuleDefinitionIdentifiers>
      <checkZeroReferencedModuleDefinitions>true</checkZeroReferencedModuleDefinitions>
      <zeroReferencedModuleDefinitionsExcludedRegExp></zeroReferencedModuleDefinitionsExcludedRegExp>
      <checkNoInlineTemplates>true</checkNoInlineTemplates>
      <checkNoOverSpecificRunsOnClauses>true</checkNoOverSpecificRunsOnClauses>
      <recursionInCheckNoOverSpecificRunsOnClauses>true</recursionInCheckNoOverSpecificRunsOnClauses>
      <checkNoUnusedImports>true</checkNoUnusedImports>
      <checkNoUnusedFormalParameters>true</checkNoUnusedFormalParameters>
      <checkNoUnusedLocalDefinitions>true</checkNoUnusedLocalDefinitions>
      <checkNoLiterals>true</checkNoLiterals>
      <checkTypesAndValuesModuleContainmentCheck>true</checkTypesAndValuesModuleContainmentCheck>
      <checkTemplatesModuleContainmentCheck>true</checkTemplatesModuleContainmentCheck>
      <checkFunctionsModuleContainmentCheck>true</checkFunctionsModuleContainmentCheck>
      <checkFunctionsModuleContainmentCheckAllowExtFunction>true</checkFunctionsModuleContainmentCheckAllowExtFunction>
      <checkTestcasesModuleContainmentCheck>true</checkTestcasesModuleContainmentCheck>
      <checkModuleParamsModuleContainmentCheck>true</checkModuleParamsModuleContainmentCheck>
      <checkInterfaceModuleContainmentCheck>true</checkInterfaceModuleContainmentCheck>
      <checkTestSystemModuleContainmentCheck>true</checkTestSystemModuleContainmentCheck>
      <checkTestControlModuleContainmentCheck>true</checkTestControlModuleContainmentCheck>
      <checkTypesAndValuesModuleImportsLibNames>true</checkTypesAndValuesModuleImportsLibNames>
      <typesAndValuesImportsLibNamesRegExp>.*?LibCommon.*</typesAndValuesImportsLibNamesRegExp>
      <typesAndValuesImportsLibNamesExcludedRegExp>(.*?LibCommon.*)</typesAndValuesImportsLibNamesExcludedRegExp>
      <checkTestcasesModuleImportsLibCommon__Sync>true</checkTestcasesModuleImportsLibCommon__Sync>
      <checkModuleSize>true</checkModuleSize>
      <maximumAllowedModuleSizeInBytes>10000</maximumAllowedModuleSizeInBytes>
      <checkNoTabs>true</checkNoTabs>
      <checkNamingConventions>true</checkNamingConventions>
      <namingConventionsConfig>
        <moduleRegExp>[A-Z].*</moduleRegExp>
        <groupRegExp>[a-z].*</groupRegExp>
        <dataTypeRegExp>[A-Z].*</dataTypeRegExp>
        <messageTemplateRegExp>m_[a-z].*</messageTemplateRegExp>
        <messageTemplateWithWildcardsRegExp>mw_[a-z].*</messageTemplateWithWildcardsRegExp>
        <derivedMessageTemplateRegExp>md_[a-z].*</derivedMessageTemplateRegExp>
        <derivedMessageTemplateWithWildcardsRegExp>mdw_[a-z].*</derivedMessageTemplateWithWildcardsRegExp>
        <stf160sendTemplateRegExp>cs_[a-z].*</stf160sendTemplateRegExp>
        <stf160receiveTemplateRegExp>cr_[a-z].*</stf160receiveTemplateRegExp>
        <derivedStf160sendTemplateRegExp>dcs_[a-z].*</derivedStf160sendTemplateRegExp>
        <derivedStf160receiveTemplateRegExp>dcr_[a-z].*</derivedStf160receiveTemplateRegExp>
        <signatureTemplateRegExp>s_[a-z].*</signatureTemplateRegExp>
        <portInstanceRegExp>[a-z].*</portInstanceRegExp>
        <componentInstanceRegExp>[a-z].*</componentInstanceRegExp>
        <constantRegExp>c_[a-z].*</constantRegExp>
        <localConstantRegExp>cl_[a-z].*</localConstantRegExp>
        <extConstantRegExp>cx_[a-z].*</extConstantRegExp>
        <functionRegExp>f_[a-z].*</functionRegExp>
        <extFunctionRegExp>fx_[a-z].*</extFunctionRegExp>
        <altstepRegExp>a_[a-z].*</altstepRegExp>
        <testcaseRegExp>TC_.*</testcaseRegExp>
        <variableRegExp>v_[a-z].*</variableRegExp>
        <componentVariableRegExp>vc_[a-z].*</componentVariableRegExp>
        <timerRegExp>t_[a-z].*</timerRegExp>
        <componentTimerRegExp>tc_[a-z].*</componentTimerRegExp>
        <moduleParameterRegExp>[A-Z][A-Z_1-9]*</moduleParameterRegExp>
        <formalParameterRegExp>p_[a-z].*</formalParameterRegExp>
        <enumeratedValueRegExp>e_[a-z].*</enumeratedValueRegExp>
      </namingConventionsConfig>
      <pathFormattedOutputPath>FORMATTED</pathFormattedOutputPath>
    </QualityCheckProfile>
  </ConfigurationProfiles>
  <defaultConfigurationProfile>all</defaultConfigurationProfile>
</T3QConfig>
 No newline at end of file