Skip to content

Issue python test #4

@RayaVanMattaveld

Description

@RayaVanMattaveld

Please fill in the following sections, thank you!

Details

VUNet ID : rml370
Assistant: Kian

Issue

Hi, we have entered both syntax files and they achieve perfect results. We would however still like to do the python test for our program just to be sure. This is not going very smoothly so far.

We have tried many different commands:
e.g.

Input: python test.py
Input: python test.py C:\Users\ryanm\Documents\Advanced P
rogramming\AP2-Skeleton-master\assignment2.jar
Input: python test.py -r 'java -cp C:\Users\ryanm\Documen
ts\Advanced Programming\AP2-Skeleton-master\src\main\java Assignment2'

Output

Output: [   FAIL] Program outputted errors:
Error: Could not find or load main class Main
Output: 
C:\Users\ryanm\Documents\Advanced P
rogramming\AP2-Skeleton-master\assignment2.jar
usage: test.py [-h] [-v] [-e] [-c] [-n] [-t {calc,syntax,syntax-ext}] [-r RUN]
               [-f]
               [jar]
test.py: error: unrecognized arguments: Programming\AP2-Skeleton-master\assignment2.jar
Output: 
[   FAIL] Program outputted errors:
Error: Could not find or load main class Programming\AP2-Skeleton-master\src\main\java

Does anyone know how to resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions