View | Details | Raw Unified | Return to bug 243624
Collapse All | Expand All

(-)Mode.ycp (-8 / +3 lines)
Lines 132-146 Link Here
132
    if (_test == nil)
132
    if (_test == nil)
133
	Initialize ();
133
	Initialize ();
134
    if (!test_autochecked) {
134
    if (!test_autochecked) {
135
135
        // bnc#243624#c13: Y2ALLGLOBAL is set by yast2-testsuite/skel/runtest.sh
136
	// do not call GetDisplayInfo in command line mode (bnc#374259)
136
        if (getenv ("Y2MODETEST") != nil || getenv ("Y2ALLGLOBAL") != nil) {
137
	if (commandline())
137
	    _test = "testsuite";
138
	{
139
	    _test = "none";
140
	}
138
	}
141
	else if (UI::GetDisplayInfo () == nil) {
142
	    _test = "testsuite"; // testsuite runs with a dummy ui. 
143
	}
144
	test_autochecked = true;
139
	test_autochecked = true;
145
    }
140
    }
146
141

Return to bug 243624