Skip to content
/ test-script Public template

Script with basic operations (build, memory, tests) for projects testing. Made for github.com/GargiMan/ial.

Notifications You must be signed in to change notification settings

GargiMan/test-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

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

About

Script with basic operations (build, memory, tests) for projects testing. Made for github.com/GargiMan/ial.

Topics

Resources

Stars

Watchers

Forks

Languages