Skip to content

Commit 539bc31

Browse files
committed
Merge remote-tracking branch 'assignments-base/assignment2'
2 parents 5ddd46e + b144dce commit 539bc31

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

.github/workflows/github-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Run unit test
1717
run: ./unit-test.sh
1818
full-test:
19-
container: cuaesd/aesd-autotest:24-assignment1
19+
container: cuaesd/aesd-autotest:24-assignment2
2020
runs-on: self-hosted
2121
steps:
2222
- uses: actions/checkout@v2

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ project(aesd-assignments)
77
set(AUTOTEST_SOURCES
88
test/assignment1/Test_hello.c
99
test/assignment1/Test_assignment_validate.c
10-
../student-test/assignment1/Test_validate_username.c
1110
)
1211
# A list of all files containing test code that is used for assignment validation
1312
set(TESTED_SOURCE

conf/assignment.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
assignment1
1+
assignment2

student-test/assignment1/Test_validate_username.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
/**
88
* This function should:
9-
* 1) Call the my_username() function in autotest-validate.c to get your hard coded username.
9+
* 1) Call the my_username() function in Test_assignment_validate.c to get your hard coded username.
1010
* 2) Obtain the value returned from function malloc_username_from_conf_file() in username-from-conf-file.h within
1111
* the assignment autotest submodule at assignment-autotest/test/assignment1/
12-
* 3) Use unity assertion TEST_ASSERT_EQUAL_STRING_MESSAGE to verify the two strings are equal. See
12+
* 3) Use unity assertion TEST_ASSERT_EQUAL_STRING_MESSAGE the two strings are equal. See
1313
* the [unity assertion reference](https://github.com/ThrowTheSwitch/Unity/blob/master/docs/UnityAssertionsReference.md)
1414
*/
1515
void test_validate_my_username()

0 commit comments

Comments
 (0)