oef/regression_test/Makefile
2020-02-08 12:27:13 +01:00

11 lines
472 B
Makefile

.PHONY: all
.PHONY: test
test:
docker exec -d oef_regression_test_selenium_1 ffmpeg -y -video_size 1360x1020 -framerate 15 -f x11grab -i :99.0 /tmp/recording.mp4
go test
docker exec oef_regression_test_selenium_1 killall -s SIGINT ffmpeg
docker exec oef_regression_test_selenium_1 MP4Box -isma -inter 500 -out /tmp/recording_cleaned_up.mp4 /tmp/recording.mp4
docker cp oef_regression_test_selenium_1:/tmp/recording_cleaned_up.mp4 recordings/recording.mp4
all: test