diff --git a/tests/10/Main.c b/tests/10/Main.c index cc618bf..6719118 100644 --- a/tests/10/Main.c +++ b/tests/10/Main.c @@ -1,3 +1,6 @@ +/* + * 测试cpu时间超限 + */ #include #include diff --git a/tests/11/Main.c b/tests/11/Main.c index 575f962..7b40b65 100644 --- a/tests/11/Main.c +++ b/tests/11/Main.c @@ -1,3 +1,6 @@ +/* + * 测试实际运行时间超限 + */ #include #include diff --git a/tests/12/Main.c b/tests/12/Main.c index 90449db..54477da 100644 --- a/tests/12/Main.c +++ b/tests/12/Main.c @@ -1,3 +1,6 @@ +/* + * 测试内存限制,允许分配的内存为限制参数2倍,本测试用例分配了150M,在两倍范围内,能分配成功,最后被标记为内存超限 + */ #include #include #include diff --git a/tests/13/Main.c b/tests/13/Main.c index 7b46ea9..473d6e0 100644 --- a/tests/13/Main.c +++ b/tests/13/Main.c @@ -1,3 +1,6 @@ +/* + * 测试内存限制,允许分配的内存为限制参数2倍,本测试用例分配了300M,超过两倍范围内,不能分配成功,运行出错 + */ #include #include #include diff --git a/tests/14/Main.c b/tests/14/Main.c index b8f0636..b9599fe 100644 --- a/tests/14/Main.c +++ b/tests/14/Main.c @@ -1,5 +1,5 @@ /* - * 正常运行的程序 + * 测试stdout和stderr重定向 */ #include diff --git a/tests/15/Main.c b/tests/15/Main.c index ba5c764..587a0cd 100644 --- a/tests/15/Main.c +++ b/tests/15/Main.c @@ -1,5 +1,5 @@ /* - * 正常运行的程序 + * 测试返回值 */ #include diff --git a/tests/8/Main.c b/tests/8/Main.c index 099679f..15bded4 100644 --- a/tests/8/Main.c +++ b/tests/8/Main.c @@ -1,3 +1,6 @@ +/* + * 测试args参数 + */ #include diff --git a/tests/9/Main.c b/tests/9/Main.c index baec0fa..9ae5872 100644 --- a/tests/9/Main.c +++ b/tests/9/Main.c @@ -1,3 +1,6 @@ +/* + * 测试环境变量参数 + */ #include #include