Add gtk tests

Currently we only test the GtkBuilder files.
Also I can't find a way to get gtk to uninitialize and reinitialize
in a different thread.

Close #56
This commit is contained in:
Jordan Petridis
2018-08-20 13:14:41 +03:00
parent 3afa8c4441
commit 92ae681517
5 changed files with 48 additions and 3 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ xvfb-run -a -s "-screen 0 1024x768x24" \
--env=CARGO_HOME="target/cargo-home" \
--env=CARGO_TARGET_DIR="target_test/" \
app ${MANIFEST_PATH} \
cargo test -- --test-threads=1
cargo test -j 1 -- --test-threads=1
# Create a flatpak bundle
# flatpak-builder --finish-only app ${MANIFEST_PATH}