Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gatorgrade configuration bug #106

Open
ColemanKobe opened this issue Sep 15, 2022 · 0 comments
Open

gatorgrade configuration bug #106

ColemanKobe opened this issue Sep 15, 2022 · 0 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation input Requirement for Input team

Comments

@ColemanKobe
Copy link

When I tried to run gatorgrade locally on my Windows machine for an assignment, I had a few problems with what was being executed in the setup block in the configuration file. First, it couldn't run the commands because it was treated as one whole command per line, which is invalid. @gkapfham and I suspected that it could be a problem with how the separator of different commands was recognized in different operating systems.

Original gatorgrade.yml
Error from the original:

Running set up commands...
The system cannot find the path specified.
The set up command "cd project/clang; make" failed.                Exiting GatorGrade.

I then changed the setup block in that configuration file so it looked like the following:

cd project/clang && make bounded-cpu
cd project/clang && make unbounded-cpu
cd project/golang/ && make bounded-cpu
cd project/golang/ && make unbounded-cpu

gatorgrader successfully ran, but there were some failures on my local checks that passed in GitHub Actions.

-~-  FAILURES  -~-

✘  Use go fmt to confirm that bounded-cpu.go is formatted correctly
✘  Use go fmt to confirm that unbounded-cpu.go is formatted correctly
✘  Run the bin/bounded-cpu program in the project/clang
✘  Run the bin/bounded-cpu program in the project/clang and confirm two non-blank output lines
✘  Run the bin/bounded-cpu program in the project/clang and confirm fragment in output
✘  Run the bin/bounded-cpu program in the project/golang
✘  Run the bin/bounded-cpu program in the project/golang and confirm two non-blank output lines
✘  Run the bin/bounded-cpu program in the project/golang and confirm fragment in output

Settings for Reproduction:

Python 3.10.7

gatorgrade 0.3.0

Windows 11 Pro

Powershell 7.2.6

@gkapfham gkapfham self-assigned this Sep 19, 2022
@gkapfham gkapfham added bug Something isn't working documentation Improvements or additions to documentation input Requirement for Input team labels Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation input Requirement for Input team
Projects
None yet
Development

No branches or pull requests

2 participants