Support #130

Cannot get stdio adapter running. What to specify as IUT program?

Added by Axel Belinfante over 11 years ago. Updated almost 11 years ago.

Status:ResolvedStart date:19 Jun 2009
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Cannot get stdio adapter running. What to specify as IUT program?
File browser: all supported formats does not help:
with 'real program' it also gives only .graphml, .aut.

History

#1 Updated by Axel Belinfante over 11 years ago

  • Tracker changed from Bug to Support

#2 Updated by Axel Belinfante almost 11 years ago

What has to be specified as IUT program:
the name of the program (if the program can be found via the PATH, if not, the full prefix has to be included), with its command line arguments, if any.
Note that, at least on non-windows platforms, the file mode/permission of the program must allow its execution.

When the Implementation type has been set to "real program, communicating labels on stdin/stdout", the File Browser can be added to add file names (as program, and as command line argument) to the text field that is to the right of "Program+args" in the Configuration pane.
It may be useful to set the 'filter' in the File browser to "All files (*.*)".

To test an implementation that has been provided in the form of java .class files we have used:

On windows: java -classpath "J:\ex\fwgc\impl\correct" practicum.Practicum
On linux: java -classpath "/path/to /ex/fwgc/impl/correct" practicum.Practicum
Note: on windows the double quotes are needed

See also Testing a Java program that communicates using labels on standard input and standard output.

#3 Updated by Axel Belinfante almost 11 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF