File: gui

package info (click to toggle)
orange3 3.40.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,908 kB
  • sloc: python: 162,745; ansic: 622; makefile: 322; sh: 93; cpp: 77
file content (23 lines) | stat: -rwxr-xr-x 571 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh -efux

export HOME="${AUTOPKGTEST_TMP}"

#https://github.com/biolab/orange3/tree/master/Orange/canvas/workflows
#https://orange-canvas-core.readthedocs.io/en/latest/orangecanvas/overview.html

#orange3/Orange/canvas/workflows
WORKFLOW_FILE="Orange/canvas/workflows/130-scatterplot-visualize-subset.ows"

cp "$WORKFLOW_FILE" "${AUTOPKGTEST_TMP}"

cd "${AUTOPKGTEST_TMP}"

timeout --preserve-status 30s orange-canvas "$(basename "$WORKFLOW_FILE")"
ec=$?

if [ $ec -eq 143 ]; then
    echo "trapped status 143 and return success"
    exit 0;
else
    exit $ec;
fi