Skip to content

Commit 0f18544

Browse files
author
Kimmo
committed
Add point syntax and QT_QPA_PLATFORM in .tmcrc
1 parent 94678ba commit 0f18544

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CookieClicker/.tmcrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
QT_QPA_PLATFORM="linuxfb"

CookieClicker/test_runner/tst_cookieclicker.qml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ Item {
1616
id: spy
1717
}
1818

19+
function qml_POINT (exercise_name, point) {
20+
console.info("TMC:test_cookie_click.1")
21+
}
22+
1923
function test_cookie_click() {
24+
qml_POINT(test_cookie_click, 1);
2025
var component = Qt.createComponent("CookieClickerTest.qml")
2126
compare(component.status, Component.Ready)
2227
var cookie = component.createObject(container);

0 commit comments

Comments
 (0)