Skip to content

[Enhancement] Support multiple expected outputs in the test program #49

[Enhancement] Support multiple expected outputs in the test program

[Enhancement] Support multiple expected outputs in the test program #49

Workflow file for this run

name: Test for C++ implementations
on:
pull_request:
branches: [main]
jobs:
prepare:
name: Prepare test
runs-on: self-hosted
defaults:
run:
working-directory: ./test
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Build test maker
run: gcc -o test_maker test_maker.c
test-hd:
name: Run heading test
runs-on: self-hosted
needs: prepare
defaults:
run:
working-directory: ./test
steps:
- name: Build object program
run: make all
working-directory: ./hd/cpp
- name: Build host program
run: ./test_maker .test/hd.test
- name: Run test
run: ./test ../hd/cpp/hd
timeout-minutes: 5