Skip to content

User testing does not pick up header files #1153

Description

@CristianCantoro

User testing does not pick up header files from the task, resulting in failing compilation. User submission functions normally (submitting only the source code).

Steps to reproduce:

  1. Create a task with a grader and a header file
  2. Go to user testing, upload the source code and the grader code, and an input file.

Expected: the test code is compiled with the grader and executed

Actual: Compilation files

grader.cpp:11:17: fatal error: taskname.h: No such file or directory
compilation terminated.
taskname.cpp:2:17: fatal error: taskname.h: No such file or directory
 #include "taskname.h"
                 ^
compilation terminated.

Logs

N/A

System Information

CMS version: 1.4rc1
Was CMS installed: yes
Using a virtualenv: no
Postgres version: 9.5
Distribution and version: Ubuntu 16.04.6 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions