[Gambas-bugtracker] Bug #2681: Test suites crash when 'Default' contains 0 tests

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Jan 13 11:28:43 CET 2023


http://gambaswiki.org/bugtracker/edit?object=BUG.2681&from=L21haW4-

Christof THALHOFER reported a new bug.

Summary
-------

Test suites crash when 'Default' contains 0 tests

Type             : Bug
Priority         : Medium
Gambas version   : Master
Product          : Development Environment


Description
-----------

When one deselects all tests in the testsuite 'Default' the line

Default="Tests,To,Be,Executed"

in the file '.test' ist removed.

As a result the variable 'TestWith' in the file '.test' is misinterpreted and gb.test runs the wrong testsuite or even all tests when 'TestWith=0'.


System information
------------------

[System]
Gambas=3.17.90 7a238f4c7 (master)
OperatingSystem=Linux
Kernel=5.4.0-100-generic
Architecture=x86_64
Distribution=Ubuntu 20.04.4 LTS
Desktop=XFCE
Font=Sans,10
Scale=7
Theme=industrial
Language=de_DE.UTF-8
Memory=977M

[Programs]
gcc=gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
git=git version 2.25.1

[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.6.0
DBus=libdbus-1.so.3.19.11
GDK2=libgdk-x11-2.0.so.0.2400.32
GDK3=libgdk-3.so.0.2404.16
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.1602.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2404.16
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.44.0.0
Poppler=libpoppler.so.97.0.0
QT5=libQt5Core.so.5.12.8
RSvg=librsvg-2.so.2.47.0
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DEFAULTS_PATH=/usr/share/gconf/xfce.default.path
DESKTOP_SESSION=xfce
DISPLAY=:0.0
EDITOR=mousepad
GB_GUI=gb.gtk3
GDMSESSION=xfce
GDM_LANG=de_DE
GTK2_MODULES=overlay-scrollbar
GTK_CSD=0
GTK_MODULES=gail:atk-bridge
HOME=<home>
LANG=de_DE.UTF-8
LANGUAGE=de_DE.UTF-8
LC_ALL=de_DE.UTF-8
LD_PRELOAD=libgtk3-nocsd.so.0
LOGNAME=<user>
MANDATORY_PATH=/usr/share/gconf/xfce.mandatory.path
PANEL_GDK_CORE_DEVICE_EVENTS=0
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=<home>
QT_ACCESSIBILITY=1
QT_LOGGING_RULES=*.debug=false
QT_QPA_PLATFORMTHEME=appmenu-qt5
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1139,unix/<hostname>:/tmp/.ICE-unix/1139
SHELL=/usr/bin/zsh
SHLVL=0
SSH_AGENT_PID=1378
SSH_AUTH_SOCK=/tmp/ssh-bLRm11YKlX1Z/agent.1139
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-xfce:/etc/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=/usr/share/xfce4:/usr/share/xfce:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user>
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=xfce
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7




More information about the Bugtracker mailing list