action #27621

[sle][functional][u] Test "motif" libraries are usable within SLE because customers use this "legacy" framework

Added by okurz over 2 years ago. Updated over 1 year ago.

Status:ResolvedStart date:09/11/2017
Priority:LowDue date:
Assignee:dheidler% Done:

0%

Category:-
Target version:future
Duration:

Description

Motivation

If I understood and remember correctly e.g. our customer DFS uses "motif" based applications so we should ensure "motif" is usable

Acceptance criteria

  • AC1: A regular test is scheduled for our usual SLE/openSUSE product tests testing a system component which uses motif libraries in any way

Suggestions

  • Create a test module for ddd
  • Schedule it in according test scenarios for openSUSE Tumbleweed
  • … Leap
  • … SLE15
  • … SLE12

further details

History

#1 Updated by okurz about 2 years ago

  • Due date set to 15/05/2018
  • Target version changed from Milestone 14 to Milestone 16

Based on feature tests per milestone planned in query shifting to later to not over-encumber M14 where we want to focus more on fixing tests rather than new.

#2 Updated by okurz almost 2 years ago

  • Subject changed from [sle][functional] Test "motif" libraries are usable within SLE because customers use this "legacy" framework to [sle][functional][u] Test "motif" libraries are usable within SLE because customers use this "legacy" framework
  • Description updated (diff)
  • Due date deleted (15/05/2018)
  • Status changed from New to Workable
  • Priority changed from Normal to Low
  • Target version changed from Milestone 16 to Milestone 18

It's a valid use case but down-prioritizing due to more limited current team capacity

#3 Updated by okurz over 1 year ago

  • Project changed from SUSE QA tests to QA

#5 Updated by okurz over 1 year ago

  • Target version changed from Milestone 18 to future

#6 Updated by dheidler over 1 year ago

As ddd isn't available on sle and I don't see any other motif applications there apart from the motif window manager it should be the easiest solution to use some small hello world program and compile it on the sut:

#include <Xm/XmAll.h>

void main(int argc, char *argv[])
{
    Widget toplevel, main_w, button;
    XtAppContext app;

    XtSetLanguageProc(NULL, NULL, NULL);

    toplevel = XtVaAppInitialize(&app, "main", NULL, 0, &argc, argv, NULL, NULL);
    main_w = XtVaCreateManagedWidget("main_w", xmMainWindowWidgetClass, toplevel, XmNscrollingPolicy, XmAUTOMATIC, NULL);
    button = XtVaCreateWidget("Hello World", xmLabelWidgetClass, main_w, NULL);

    XtManageChild(button);
    XtRealizeWidget(toplevel);
    XtAppMainLoop(app);
}

// gcc -lXm -lXt

#7 Updated by dheidler over 1 year ago

  • Status changed from Workable to In Progress
  • Assignee set to dheidler

#9 Updated by dheidler over 1 year ago

  • Status changed from In Progress to Feedback

#10 Updated by okurz over 1 year ago

PR merged, please make sure to add the according test scenarios to TW, Leap, SLE12, SLE15 and verify on production.

Also available in: Atom PDF