From afcb45766e8eb01cd191d477c7eb10cbdfc89bd7 Mon Sep 17 00:00:00 2001 From: Geoffrey Challen Date: Fri, 25 Mar 2016 15:33:29 -0400 Subject: [PATCH] Small changes to targets. --- test161/targets/{asst3.1.tt => asst3-coremap.tt} | 7 ++++--- test161/tests/coremap/coremap-loose.t | 7 ++++--- test161/tests/coremap/coremap-tight.t | 7 ++++--- test161/tests/coremap/km1.t | 7 ++++--- test161/tests/coremap/km2.t | 6 +++--- test161/tests/coremap/km3.t | 7 ++++--- test161/tests/coremap/km4.t | 7 ++++--- test161/tests/coremap/not-dumbvm.t | 5 +++-- test161/tests/synch/sem1.t | 2 +- 9 files changed, 31 insertions(+), 24 deletions(-) rename test161/targets/{asst3.1.tt => asst3-coremap.tt} (80%) diff --git a/test161/targets/asst3.1.tt b/test161/targets/asst3-coremap.tt similarity index 80% rename from test161/targets/asst3.1.tt rename to test161/targets/asst3-coremap.tt index 6c785a2..08e9f7b 100644 --- a/test161/targets/asst3.1.tt +++ b/test161/targets/asst3-coremap.tt @@ -1,7 +1,8 @@ -name: asst3.1 -print_name: ASST3.1 +name: asst3-coremap +print_name: ASST3-coremap description: > - In this assignment you will add support for virtual memory to your OS/161 kernel. + In this assignment you will add support for virtual memory to your OS/161 + kernel. This target tests your coremap and kernel memory allocator. version: 1 points: 100 type: asst diff --git a/test161/tests/coremap/coremap-loose.t b/test161/tests/coremap/coremap-loose.t index c241451..cecc378 100644 --- a/test161/tests/coremap/coremap-loose.t +++ b/test161/tests/coremap/coremap-loose.t @@ -1,7 +1,8 @@ --- name: "Coremap Test (Loose Bounds)" -description: - "This tests allocates and frees all physical memory multiple times, checking that the amount it was able to allocate is within a reasonable bound" +description: > + Allocates and frees all physical memory multiple times checking + that the amount allocated is within a reasonable bound. tags: [coremap] depends: [not-dumbvm.t] sys161: @@ -11,4 +12,4 @@ sys161: disk2: bytes: 8M --- -|km5 --avail 32 --kernel 125 +| km5 --avail 32 --kernel 125 diff --git a/test161/tests/coremap/coremap-tight.t b/test161/tests/coremap/coremap-tight.t index c0746fe..92f33a7 100644 --- a/test161/tests/coremap/coremap-tight.t +++ b/test161/tests/coremap/coremap-tight.t @@ -1,7 +1,8 @@ --- name: "Coremap Test (Tight Bounds)" -description: - "This tests allocates and frees all physical memory multiple times, checking that the amount it was able to allocate is within a reasonable bound" +description: > + Allocates and frees all physical memory multiple times checking + that the amount allocated is within a reasonable bound. tags: [coremap] depends: [not-dumbvm.t] sys161: @@ -11,4 +12,4 @@ sys161: disk2: bytes: 8M --- -|km5 --avail 20 --kernel 105 +| km5 --avail 20 --kernel 105 diff --git a/test161/tests/coremap/km1.t b/test161/tests/coremap/km1.t index 76a323f..99deecd 100644 --- a/test161/tests/coremap/km1.t +++ b/test161/tests/coremap/km1.t @@ -1,8 +1,9 @@ --- name: "Basic kmalloc Test" -description: - "km1 tests the kernel's subpage allocator, allocating a large number of objects and freeing them somewhat later" +description: > + Tests the kernel subpage allocator by allocating a large number of objects + and freeing them somewhat later. tags: [coremap] depends: [not-dumbvm.t] --- -|km1 +| km1 diff --git a/test161/tests/coremap/km2.t b/test161/tests/coremap/km2.t index 9d392c4..e565afa 100644 --- a/test161/tests/coremap/km2.t +++ b/test161/tests/coremap/km2.t @@ -1,8 +1,8 @@ --- name: "kmalloc Stress Test" -description: - "km2 stress tests the kernel subpage using the same approach as km1, but with multiple threads running concurrently." +description: > + Similar to km1 but uses multiple concurrent threads. tags: [coremap] depends: [not-dumbvm.t] --- -|km2 +| km2 diff --git a/test161/tests/coremap/km3.t b/test161/tests/coremap/km3.t index 2b468f1..0733608 100644 --- a/test161/tests/coremap/km3.t +++ b/test161/tests/coremap/km3.t @@ -1,8 +1,9 @@ --- name: "Large kmalloc Test" -description: - This test stresses the subpage allocator by allocating and freeing a large number of objects of various sizes. +description: > + Stresses the subpage allocator by allocating and freeing a large number of + objects of various sizes. tags: [coremap] depends: [not-dumbvm.t] --- -|km3 5000 +| km3 5000 diff --git a/test161/tests/coremap/km4.t b/test161/tests/coremap/km4.t index a54e72e..abc721d 100644 --- a/test161/tests/coremap/km4.t +++ b/test161/tests/coremap/km4.t @@ -1,8 +1,9 @@ --- name: "Multipage allococation Test" -description: - km4 allocates and frees large amounts of memory - between 1 and 5 pages - a number of times by a number of concurrent threads. +description: > + Allocates and frees between 1 and 5 pages a number of times by a number of + concurrent threads. tags: [coremap] depends: [not-dumbvm.t] --- -|km4 +| km4 diff --git a/test161/tests/coremap/not-dumbvm.t b/test161/tests/coremap/not-dumbvm.t index 1ed6993..5bc0417 100644 --- a/test161/tests/coremap/not-dumbvm.t +++ b/test161/tests/coremap/not-dumbvm.t @@ -1,8 +1,9 @@ --- name: "Smarter VM" description: - "A basic coremap test that makes sure you're not using dumbvm by allocating and freeing all physical memory multiple times" + Test whether you are using dumbvm by allocating and freeing all physical + memory multiple times. tags: [coremap] depends: [boot] --- -|km5 +| km5 diff --git a/test161/tests/synch/sem1.t b/test161/tests/synch/sem1.t index 61a27e3..8ec7d3c 100644 --- a/test161/tests/synch/sem1.t +++ b/test161/tests/synch/sem1.t @@ -1,7 +1,7 @@ --- name: "Semaphore Test" description: - Tests core semaphore logic through cycling signaling. + Tests core semaphore logic through cyclic signaling. tags: [synch, semaphores, kleaks] depends: [boot] sys161: