OnWorks favicon

gnatpython-mainloop - Online in the Cloud

Run gnatpython-mainloop in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gnatpython-mainloop that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



gnatpython-mainloop - command line interface for testsuite mainloop (in the ACATS/Fixed
bugs style)


gnatpython-mainloop [options] test_list_file command_pattern


gnatpython-mainloop program use the MainLoop package which provides a class called
MainLoop that provides a generic implementation of a testsuite main loop. Parallelism,
abortion and time control are the key features.

Each MainLoop instance controls a set of Workers whose number is set by the user. The list
of tasks/tests to be achieved by the workers, is provided by a list. The mainloop
distribute the elements to the the workers when they have nothing to do. Usually, an
element is a string identifying the test to be run. An element can also be a list in that
case the worker will execute sequentially each "subelement". This case is used to address
dependency between tests (occurs for example with the ACATS).

When a worker is asked to run a test, the command is executed by calling run_testcase
(testid). Once a test is finished the function collect_result will be called with test id,
and process (a gnatpython.ex.Run object) and the job_info as parameters. Both run_testcase
and collect_result are user defined functions.

Note also that from the user point view there is no parallelism to handle. The two user
defined function run_testcase and collect_result are called sequentially.

Note that this main page is written using comments from the code by the package


Options are not documented.

Use gnatpython-mainloop online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    Download VBA-M (Archived - Now on Github)
  • 6
    Linux System Optimizer and Monitoring
    Github Repository:
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands