pascalabcnet/_RebuildReleaseAndRunTests.sh

34 lines
1.1 KiB
Bash
Raw Permalink Normal View History

#!/bin/sh -e
dotnet build -c Release --no-incremental pabcnetc.sln
dotnet build -c Release --no-incremental PascalABCNETLinux.sln
mono --aot bin/pabcnetc.exe
mono --aot bin/NETGenerator.dll
mono --aot bin/TreeConverter.dll
mono --aot bin/Compiler.dll
mono --aot bin/SyntaxTree.dll
mono --aot bin/SemanticTree.dll
mono --aot bin/PascalABCParser.dll
mono --aot bin/ParserTools.dll
mono --aot bin/CompilerTools.dll
mono --aot bin/OptimizerConversion.dll
mono --aot bin/Errors.dll
mono --aot bin/LanguageIntegrator.dll
mono --aot bin/StringConstants.dll
mono --aot bin/PascalABCLanguageInfo.dll
2015-12-29 17:56:29 +03:00
cd ReleaseGenerators
mono ../bin/pabcnetc.exe RebuildStandartModulesMono.pas /rebuild
# Удаляем pcu для SPython модулей, чтобы не применять /rebuild
rm -f ../bin/Lib/SPython/*.pcu
mono ../bin/pabcnetc RebuildStandartModulesSPython.pas
2015-12-29 17:56:29 +03:00
if [ $? -eq 0 ]; then
if [ $? -eq 0 ]; then
cd ../TestSuite
mono ../bin/TestRunner.exe
cd ../TestSuiteAdditionalLanguages/SPythonTests
mono ../../bin/TestRunner.exe
cd ../..
2015-12-29 17:56:29 +03:00
fi
2015-12-29 20:36:47 +03:00
fi