Script for project testing ~ by Gargi
Usage: ./test.sh [OPTION]... [NAME]
Basic operations make, memory(valgrind), tests for projects testing.
Executing without any options script run tests in all directories in current directory.
With NAME passed in arguments, script will run tests only once in 'NAME' directory.
Directory NAME must be same as executable file (without suffix and extension) made by Makefile.
Custom file suffix, extensions or other options can be modified at beginning of script file.
Options list:
--clean clean files with 'make clean' and delete files created by this script (in NAME directory)
--dir [DIR] directory where to look for directories for testing
without this option, current directory will be used
--skip skip output compare
--help display this help and exit
Exit status:
0 if OK
1 if problems with script options or directory
Color output: (can be disabled in script file)
cyan directory name
green correct test
yellow maybe incorrect test
red incorrect test
-
Notifications
You must be signed in to change notification settings - Fork 0
GargiMan/test-script
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|