Moving testrunning to external tool slowly
This commit is contained in:
parent
5b44e46919
commit
3e5c3353c0
|
|
@ -25,4 +25,4 @@ retropikzel/pffi/*/*.so
|
||||||
retropikzel/pffi/*/compiled
|
retropikzel/pffi/*/compiled
|
||||||
tmp
|
tmp
|
||||||
dockerfiles/build
|
dockerfiles/build
|
||||||
scheme_testrunner
|
.scheme_testrunner
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
FROM debian:trixie
|
|
||||||
WORKDIR /workdir
|
|
||||||
RUN mkdir -p /workdir/.scheme_testrunner
|
|
||||||
COPY .scheme_testrunner/ /workdir/.scheme_testrunner
|
|
||||||
RUN bash .scheme_testrunner/init
|
|
||||||
RUN bash .scheme_testrunner/implementation_installer.sh
|
|
||||||
ENTRYPOINT ["bash", "-c", "bash test-guile.sh"]
|
|
||||||
|
|
@ -1,4 +1,11 @@
|
||||||
#!/bin/sh
|
RUN apk add --no-cache --update wine 7zip
|
||||||
|
RUN apt install -y wine64 7zip || true
|
||||||
apt update
|
RUN dnf install -y wine64 7zip || true
|
||||||
apt install -y guile-3.0
|
RUN unset DISPLAY && wine hostname
|
||||||
|
RUN wget https://download.racket-lang.org/installers/8.13/racket-8.13-x86_64-win32-cs.exe
|
||||||
|
ENV WINEDEBUG=-all
|
||||||
|
RUN wine racket-8.13-x86_64-win32-cs.exe /exenoui /qn /norestart
|
||||||
|
#RUN 7z e racket-8.13-x86_64-win32-cs.exe -y
|
||||||
|
#RUN apk add mlocate && updatedb && locate racket.exe
|
||||||
|
#ENV WINEPATH=/racket/bin
|
||||||
|
#RUN tree /racket
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
RUN apk add build-base wget bash curl make cmake || true
|
||||||
|
RUN apt update && apt install -y make cmake build-essential curl wget bash || true
|
||||||
apt update && apt install -y make build-essential curl wget
|
RUN dnf group install "Development Tools" -y || true
|
||||||
wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
|
RUN dnf install -y curl wget bash make cmake || true
|
||||||
bash guix-install.sh -y
|
RUN zypper install -t pattern devel_basis || true
|
||||||
echo "Hello from init container"
|
RUN zypper install -y curl wget bash make cmake findutils || true
|
||||||
|
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
echo "Hello from init container"
|
|
||||||
19
Makefile
19
Makefile
|
|
@ -58,9 +58,22 @@ test: build
|
||||||
bash test-all.sh
|
bash test-all.sh
|
||||||
|
|
||||||
test-arm64:
|
test-arm64:
|
||||||
scheme_testrunner debian:trixie arm64 guile "test-guile.sh"
|
scheme_testrunner alpine:3.20 arm64 guile "bash test-guile.sh"
|
||||||
scheme_testrunner debian:trixie arm64 kawa "test-kawa.sh"
|
scheme_testrunner alpine:3.20 arm64 sagittarius "bash test-sagittarius.sh"
|
||||||
#scheme_testrunner fedora_40 arm64 "bash test-all.sh"
|
#
|
||||||
|
scheme_testrunner debian:trixie arm64 guile "bash test-guile.sh"
|
||||||
|
scheme_testrunner debian:trixie arm64 sagittarius "bash test-sagittarius.sh"
|
||||||
|
#
|
||||||
|
scheme_testrunner fedora:40 arm64 guile "bash test-guile.sh"
|
||||||
|
scheme_testrunner fedora:40 arm64 sagittarius "bash test-sagittarius.sh"
|
||||||
|
#
|
||||||
|
scheme_testrunner opensuse/tumbleweed arm64 guile "bash test-guile.sh"
|
||||||
|
scheme_testrunner opensuse/tumbleweed arm64 sagittarius "bash test-sagittarius.sh"
|
||||||
|
|
||||||
|
test-amd64-wine:
|
||||||
|
#scheme_testrunner alpine:3.20 amd64 sagittarius_wine "bash test-sagittarius-wine.sh"
|
||||||
|
scheme_testrunner alpine:3.20 amd64 racket_wine "bash test-racket-wine.sh"
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf docutmp
|
rm -rf docutmp
|
||||||
|
|
|
||||||
14
test-all.sh
14
test-all.sh
|
|
@ -1,14 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -eu
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
VERSION=$(cat VERSION)
|
|
||||||
|
|
||||||
for testfile in ./test-*.sh
|
|
||||||
do
|
|
||||||
if [[ ! "${testfile}" = "./test-all.sh" ]];
|
|
||||||
then
|
|
||||||
bash "${testfile}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
source scripts/init-test.sh
|
||||||
|
|
||||||
|
SCHEME="racket.exe -I r7rs --make -S . --script"
|
||||||
|
|
||||||
|
source scripts/test-runs-dynamic.sh
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
source scripts/init-test.sh
|
source scripts/init-test.sh
|
||||||
|
|
||||||
SCHEME="wine /app/sash.exe -c -r7 -L ."
|
SCHEME="wine sash.exe -c -r7 -L ."
|
||||||
|
|
||||||
source scripts/test-runs-dynamic.sh
|
source scripts/test-runs-dynamic.sh
|
||||||
Loading…
Reference in New Issue