IBM Rhapsody TestConductor Add On Testing on a Linux Target Guide Release 2.8.4

Rhapsody® IBM Engineering Systems Design Rhapsody ‐ TestConductor Add On Testing on a Linux Target Release 2.8.4


IBM Rhapsody TestConductor Add On Testing on a Linux Target Guide Release 2.8.4 - cover page
Brand
IBM
Category
Other software
Document type
Application Note
Language
English
Pages
8
File format
PDF
File size
228 KB
Published
03 December, 2023
Updated
03 December, 2023
MD5 checksum
95EE9F80C2963B4F4488CF1B3409C146

About this manual

This document describes how TestCases can be executed with IBM Engineering Systems Design Rhapsody TestConductor Add On on a Linux target while Rhapsody runs on a Windows or Linux host. It assumes the basic installation is already done and that a TCP/IP connection exists between host and target, plus a shared folder reachable from both machines (referred to in the document as "/mnt/winlinux"). Two execution modes are covered: animation based mode and assertion based mode, the latter available since Rhapsody 7.6 and the default for newly created TestArchitectures.

The guide walks through preparing the execution: deploying the Rhapsody Linux framework from linuxShare.tar, copying the TestConductor header and source files, and deploying the Linux code coverage tools for assertion based testing. It then shows how to prepare the Rhapsody model, set the folder for generated code, enter the host IP address in the RemoteHost property, specify the build command via the InvokeMake property using the linuxmake script, and launch the application with InvokeExecutable in animation based mode, including an example using plink.exe from PuTTY. The publication is copyrighted by BTC Embedded Systems AG.

What's inside

  • Introduction
  • Preparing the Execution
  • Rhapsody Share for Linux Targets
  • Compilation of code coverage
  • Preparing the Rhapsody model
  • Folder for generated code
  • IP address of target
  • Invoke make to build the application
  • Invoke the application (animation based mode)
  • Invoke the application (assertion based mode)

Specifications

Test execution modesAnimation based mode and assertion based mode
Assertion based mode availabilityAvailable since Rhapsody 7.6; default mode for newly created TestArchitectures
Host-to-target connectionTCP/IP connection between host and Linux target machine
Example shared folder path/mnt/winlinux
Linux framework archivelinuxShare.tar, found in \Share\LangCpp (or \Share\LangC for C)

Frequently asked questions

How do I execute TestCases with Rhapsody TestConductor on a Linux target?

Deploy the Rhapsody Linux framework and TestConductor files in a shared folder both machines can access, set the code generation folder, host IP address and build command, then start the application from Rhapsody over the TCP/IP connection.

Where do I enter the IP address of the host machine?

Enter it in the property CPP_CG::Linux::RemoteHost for C++ or C_CG::Linux::RemoteHost for C, so it is generated into the code before the application is compiled.

Is animation instrumentation needed for testing on a Linux target?

Only for animation based mode; for assertion based mode animation instrumentation is not needed, although testing applications with it is supported.

How is the application compiled on the Linux target?

The InvokeMake property specifies the command, for example the linuxmake script in /mnt/winlinux/Share/etc, called with the Makefile path and one of the make targets build, rebuild or clean.

Download PDF (228 KB)

More IBM Manuals


View all IBM manuals →