File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,15 @@ jobs:
4242 - name : Run Unit Tests - Linux
4343 if : matrix.os == 'ubuntu-22.04'
4444 run : |
45- patchelf --force-rpath --set-rpath '$ORIGIN:$ORIGIN/../node_modules/deps-qt-core-raub/bin-linux:$ORIGIN/../node_modules/deps-qt-gui-raub/bin-linux:$ORIGIN/../node_modules/deps-qt-qml-raub/bin-linux:$ORIGIN/../../deps-qt-core-raub/bin-linux:$ORIGIN/../../deps-qt-gui-raub/bin-linux:$ORIGIN/../../deps-qt-qml-raub/bin-linux' $GITHUB_WORKSPACE/node_modules/deps-qmlui-raub/bin-linux/libqmlui.so
45+ # patchelf --force-rpath --set-rpath '$ORIGIN:$ORIGIN/../node_modules/deps-qt-core-raub/bin-linux:$ORIGIN/../node_modules/deps-qt-gui-raub/bin-linux:$ORIGIN/../node_modules/deps-qt-qml-raub/bin-linux:$ORIGIN/../../deps-qt-core-raub/bin-linux:$ORIGIN/../../deps-qt-gui-raub/bin-linux:$ORIGIN/../../deps-qt-qml-raub/bin-linux' $GITHUB_WORKSPACE/node_modules/deps-qmlui-raub/bin-linux/libqmlui.so
4646 sudo apt-get update -qq
4747 sudo apt-get install -qq libgles2-mesa-dev libxcb-cursor0 libxcb-icccm4 libxcb-keysyms1 libxcb-shape0 libxcb-xkb1 libxkbcommon-x11-0
4848
49- sudo apt-get install -qq mesa-utils
50- xvfb-run --auto-servernum glxinfo -B
49+ # sudo apt-get install -qq mesa-utils
50+ # xvfb-run --auto-servernum glxinfo -B
5151 # LD_DEBUG=libs xvfb-run --auto-servernum npm run test-ci
52- xvfb-run --auto-servernum npm run test-ci
52+ # QT_DEBUG_PLUGINS=1 xvfb-run --auto-servernum npm run test-ci
53+ cd test && xvfb-run --auto-servernum node debug.js
5354
5455 # - name: Run Unit Tests - MacOS
5556 # if: matrix.os == 'macos-14'
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ const { View } = require ( './init' ) ;
4+
5+ const _view = new View ( { file : 'test.qml' } ) ;
6+
7+ const donePromise = new Promise ( ( res ) => { setTimeout ( ( ) => res ( false ) , 5000 ) ; } ) ;
8+
9+ ( async ( ) => {
10+ const interv = setInterval ( View . update , 15 ) ;
11+ await donePromise ;
12+ clearInterval ( interv ) ;
13+ } ) ( ) ;
You can’t perform that action at this time.
0 commit comments