Skip to content

MGM-KTH/malloc

Repository files navigation

malloc

Testing

The following changes has been made to the original test files: – The shebang in RUN_TESTS has been changed from #!/bin/csh to #!/bin/bash. – #include <sys/types.h> was added to tstcrash_complex.c to enable usage of caddr_t.

To run the supplied test files run the script 'test.sh'. It will copy the files malloc.c, malloc.h, and brk.h to the testing directory before compiling and running the tests.

To run our tests, run the script 'MANY_RUNS.sh'. It writes the results to .dat files in the directory data/. The data is then plotted using gnuplot with the script gnu_plot.sh

To run 'main()' in malloc.c, which contains some basic tests, run the following commands:

  1. make clean
  2. make malloc
  3. ./malloc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published