mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-11-02 00:56:24 +01:00
To confirm that the Makefiles works as expected after this patch, the
list of executed commands before and after has been compared.
Before:
```
make --dry-run > ../dockcross-make-baseline
make test --dry-run > ../dockcross-make-test-baseline
```
After:
```
make --dry-run > ../dockcross-make-current;
make test --dry-run > ../dockcross-make-test-current
for target in make make-test; do
diff --ignore-trailing-space ../dockcross-$target-baseline ../dockcross-$target-current> /dev/null 2>&1
[[ $? == 1 ]] && \
echo "" && \
echo "-------------------------------" && \
echo "Here is output of:" && \
echo " diff --ignore-trailing-space ../dockcross-$target-baseline ../dockcross-$target-current" && \
echo "" && \
diff --ignore-trailing-space ../dockcross-$target-baseline ../dockcross-$target-current
done
```
Output:
```
-------------------------------
Here is output of:
diff --ignore-trailing-space ../dockcross-make-baseline ../dockcross-make-current
8a9
> docker build -t dockcross/linux-ppc64le linux-ppc64le
10a12,14
> cp -r test browser-asmjs/
> docker build -t dockcross/browser-asmjs browser-asmjs
> rm -rf browser-asmjs/test
-------------------------------
Here is output of:
diff --ignore-trailing-space ../dockcross-make-test-baseline ../dockcross-make-test-current
24a25,27
> docker build -t dockcross/linux-ppc64le linux-ppc64le
> docker run --rm dockcross/linux-ppc64le > bin/dockcross-linux-ppc64le && chmod +x bin/dockcross-linux-ppc64le
> bin/dockcross-linux-ppc64le python test/run.py --languages C
30a34,38
> cp -r test browser-asmjs/
> docker build -t dockcross/browser-asmjs browser-asmjs
> rm -rf browser-asmjs/test
> docker run --rm dockcross/browser-asmjs > bin/dockcross-browser-asmjs && chmod +x bin/dockcross-browser-asmjs
> bin/dockcross-browser-asmjs python test/run.py --exe-suffix ".js"
```
3.3 KiB
3.3 KiB