Add auto flag to xvfb-run command

This commit is contained in:
Shylie 2024-05-28 11:26:16 -04:00
parent 853bec6df9
commit e67bb9c017

View File

@ -24,8 +24,8 @@ jobs:
- name: Build previous - name: Build previous
run: cmake -S prev -B prev/build -DGLERMINAL_TEST=ON && cmake --build prev/build run: cmake -S prev -B prev/build -DGLERMINAL_TEST=ON && cmake --build prev/build
- name: Generate PNG file for curr - name: Generate PNG file for curr
run: cd curr/build/tests && xvfb-run ./test-basic run: cd curr/build/tests && xvfb-run -a ./test-basic
- name: Generate PNG file for prev - name: Generate PNG file for prev
run: cd prev/build/tests && xvfb-run ./test-basic run: cd prev/build/tests && xvfb-run -a ./test-basic
- name: Compare PNG files - name: Compare PNG files
run: diff curr/build/tests/image.png prev/build/tests/image.png run: diff curr/build/tests/image.png prev/build/tests/image.png