Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present
- All source *.st files are now Unicode UTF8 without BOM
Files are in two groups (fileOut works this way in Smalltalk/X):
- containing a unicode character have "{ Encoding: utf8 }" at the header
- ASCII only are without the header
#!/bin/bash
#
# a CI job to run PetitCompiler tests on Pharo
#
set -e
if [ ! -f "ci-pharo-common.sh" ]; then
wget -O "ci-pharo-common.sh" https://bitbucket.org/janvrany/stx-goodies-petitparser/raw/tip/ci/ci-pharo-common.sh
fi
. ci-pharo-common.sh
ci_download_test_data
ci_pharo_download_pharo
ci_pharo_download_petitparser
rm -rf Petit*Test.xml
# Must turn off errexit option, Pharo return non-zero
# status when one or more tests fail.
set +e
./pharo $IMAGE test --junit-xml-output \
PetitTests \
PetitAnalyzer \
PetitSmalltalk \
PetitJava \
PetitIslands \
PetitCompiler-Tests \
PetitCompiler-Extras-Tests
set -e