GithubHelp home page GithubHelp logo

gargiman / test-script Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 23 KB

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

Shell 100.00%
c shell posix-sh valgrind make tests

test-script's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.