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

Upgrade Catch framework to to Catch2 #11

Open
UgiR opened this issue Feb 12, 2020 · 1 comment
Open

Upgrade Catch framework to to Catch2 #11

UgiR opened this issue Feb 12, 2020 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@UgiR
Copy link
Owner

UgiR commented Feb 12, 2020

Currently, Catch is installed via apt-get. Unfortunately, this means the Catch version being used is v1.1.

In order to use Catch2, the up-to-date Catch header needs to be included with the autograder.

Because of the memory limitations of the autograder container, it is unable to compile the Catch2 header. This can be resolved by choosing higher specifications for the autograder in the Gradescope settings. Ideally, this autograder should be self-contained and run 'out of the box', without any need to change additional settings (unless so desired).

In order to accomplish this, swap space can instead be increased to meet the memory requirements of the compiler. Since the compilation of the Catch header seems to be the only bottleneck, this should be sufficient.

@UgiR UgiR added this to the v1.2 milestone Feb 12, 2020
@UgiR UgiR added the enhancement New feature or request label Feb 12, 2020
@UgiR
Copy link
Owner Author

UgiR commented Feb 12, 2020

Update: Since the autograder is running in a Docker container, attempting to create a swapfile results in 'operation not permitted.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant