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
|
||||
tmp
|
||||
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
|
||||
|
||||
apt update
|
||||
apt install -y guile-3.0
|
||||
RUN apk add --no-cache --update wine 7zip
|
||||
RUN apt install -y wine64 7zip || true
|
||||
RUN dnf install -y wine64 7zip || true
|
||||
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
|
||||
|
||||
apt update && apt install -y make build-essential curl wget
|
||||
wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
|
||||
bash guix-install.sh -y
|
||||
echo "Hello from init container"
|
||||
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
|
||||
RUN dnf group install "Development Tools" -y || true
|
||||
RUN dnf install -y curl wget bash make cmake || true
|
||||
RUN zypper install -t pattern devel_basis || true
|
||||
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
|
||||
|
||||
test-arm64:
|
||||
scheme_testrunner debian:trixie arm64 guile "test-guile.sh"
|
||||
scheme_testrunner debian:trixie arm64 kawa "test-kawa.sh"
|
||||
#scheme_testrunner fedora_40 arm64 "bash test-all.sh"
|
||||
scheme_testrunner alpine:3.20 arm64 guile "bash test-guile.sh"
|
||||
scheme_testrunner alpine:3.20 arm64 sagittarius "bash test-sagittarius.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:
|
||||
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
|
||||
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
|
||||
Loading…
Reference in New Issue