File tree Expand file tree Collapse file tree 3 files changed +6
-16
lines changed
05_cpp_static_analysis/config
08_memory_debugging/config Expand file tree Collapse file tree 3 files changed +6
-16
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"autograding_method" : " docker" ,
3
3
"container_options" : {
4
- "container_image" : " submittyrpi/csci1200:default "
4
+ "container_image" : " submitty/clang:latest "
5
5
},
6
6
7
7
// For compiled languages, typically two testcases are used to allow points
Original file line number Diff line number Diff line change 6
6
7
7
"autograding_method" : " docker" ,
8
8
"container_options" : {
9
- "container_image" : " submittyrpi/csci1200: default"
9
+ "container_image" : " submitty/autograding- default:latest "
10
10
},
11
11
12
12
// Static analysis can also be performed upon C++ code.
16
16
{
17
17
18
18
"title" : " Check for goto and auto" ,
19
- "command" : [ " submitty_count token -l c Goto *.cpp" ,
20
- " submitty_count token -l c Auto *.cpp" ],
19
+ "command" : [ " submitty_count_ts -l cpp node auto *.cpp" ,
20
+ " submitty_count_ts -l cpp node auto *.cpp" ],
21
21
"points" : 2 ,
22
22
"validation" : [
23
23
{
Original file line number Diff line number Diff line change 1
1
{
2
2
"autograding_method" : " docker" ,
3
3
"container_options" : {
4
- "container_image" : " submittyrpi/csci1200: default"
4
+ "container_image" : " submitty/autograding- default:latest "
5
5
},
6
6
7
7
"testcases" : [
11
11
{
12
12
"type" : " Compilation" ,
13
13
"title" : " C++ - Compilation (for Dr Memory)" ,
14
-
15
- // ORIGINAL
16
- //"command" : "clang++ -g -Wall -o a.out *.cpp",
17
-
18
- // TEMPORARY WORKAROUND
19
- "command" : " clang++ -g -gdwarf-4 -Wall -o a.out *.cpp" ,
20
- // NOTE: Compiling with the -gdwarf-4 option is required with g++ 11+
21
- // so that DrMemory can print source code line numbers with.
22
- // See also:
23
- // https://github.com/DynamoRIO/drmemory/issues/2485
24
-
14
+ "command" : " clang++ -g -Wall -o a.out *.cpp" ,
25
15
"executable_name" : " a.out" ,
26
16
"points" : 2
27
17
},
You can’t perform that action at this time.
0 commit comments