Sponsored Content
Operating Systems Linux Automating build and test process Post 302159048 by laxmi on Thursday 17th of January 2008 01:07:09 AM
Old 01-17-2008
Thanks for the reply ilan and vino.. Smilie

The source files are in C and each user runs unit test cases..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Automating build and test process

Hey ppl, I've been asked to automate the build and test process for my team at office.we work on Linux and use Perforce for SCM. I've just joined this company and dont have much knowledge on unix scripts. Could someone tell me how to go about doing this? (0 Replies)
Discussion started by: laxmi
0 Replies

2. Shell Programming and Scripting

Perl - automating if statement test

Hello all, I'm trying to automate an if statement in my Perl script. The script opens an input file for reading, checks each line in the file for a particular substring, and if it finds the substring, writes it to an output file. There are approximately 200 different input files. Each has... (3 Replies)
Discussion started by: Galt
3 Replies

3. Shell Programming and Scripting

automating daily monitoring process

Hi there, I have to automate daily monitoring process and then the result of these process should be sent to a log file, then this log file should be mailed . ps -ef | grep aa In this atleast one process should run. If the process is running it should mention Success in the log file... (3 Replies)
Discussion started by: NehaKrish
3 Replies

4. Shell Programming and Scripting

Automating The process

Hi Guru's, I am trying to write a scripts that will automate my image provisoining process. Scenario: I have Linux Image Hosted on cloud which needs to be provisoned before it can be used. Currently we log onto the image through the putty on windows and connect to linux instance. I... (3 Replies)
Discussion started by: taqvia
3 Replies

5. Solaris

I want to test max process on my system

Hi,everybody Please someone suggest me for test max process on system my system is Solaris 10/9 installed on HP DL380G6 . My point of project is test max process ,max user untill systemdown .however i have batch script telnet from pc to host about 500 window per pc ( i have pc 9 unit ... (2 Replies)
Discussion started by: infjustice
2 Replies

6. UNIX for Dummies Questions & Answers

Automating a process

Could any one tell me , how to start a thread here, i just searching for so long. sorry to post in irrelavent here ---------- Post updated at 08:19 AM ---------- Previous update was at 08:00 AM ---------- Hi, I got a requirement to automate the process. We have SLA files, there are... (1 Reply)
Discussion started by: afahmed
1 Replies

7. UNIX for Dummies Questions & Answers

Image build process

What are the requirements to build an image in solaris ? Could you please some one explain this.. (1 Reply)
Discussion started by: ramagore85
1 Replies

8. Shell Programming and Scripting

Automating Mail Process

Hi i had written one script,it sends email from terminal and mine script is as: #!/bin/bash SUBJECT="linux mail send attachment example" BODY_FILE="/home/sreenivasa/Desktop/Testing.txt" #ATTACHMENT_FILE="/home/sreenivasa/Desktop/Dataset.zip"... (23 Replies)
Discussion started by: rajnikant
23 Replies

9. Shell Programming and Scripting

Automating an interactive process with EOF string

Hello, I'm running Stockfish chess engine ( Home - Stockfish - Open Source Chess Engine ) CLI on Linux in interactive mode which is working fine. root@ubuntu1950x:~# ./stockfish Stockfish 080218 64 POPCNT by T. Romstad, M. Costalba, J. Kiiski, G. Linscott setoption name Debug Log File... (2 Replies)
Discussion started by: prvnrk
2 Replies

10. Red Hat

RHEL GUI Build process.

Hi Folks, I've recently upgraded (RHEL 6.5 to 7.5) a couple of servers and have noticed a peculiarity during the GUI build of the boxes. This can be best explained as follows; There were four Oracle ASM disks on each of these servers, these were selected in the GUI for reformat as XFS file... (2 Replies)
Discussion started by: gull04
2 Replies
CUTTER(1)                                                         Cutter's manual                                                        CUTTER(1)

NAME
cutter - xUnit family unit testing framework for C and C++ SYNOPSIS
cutter [option ...] test-directory cutter --mode=analyze [option ...] log-directory DESCRIPTION
Cutter is a xUnit family unit testing framework for C and C++. Cutter provides programmers two important interfaces: 1. easy to write API 2. easy to debug UI Cutter helps programmers to write their new tests, run their existing tests, get feedbacks from ran their tests. test-directory is a directory which has test_*.so. test_*.so are searched recursively. log-directory is a directory which has Cutter log files. Cutter logs test results when --stream-directory option is specified. OPTIONS
--version Cutter shows its own version and exits. --mode=[test|analyze] It specifies run mode. Cutter runs tests when run mode is test. Cutter analyzes test results when run mode is analyze. The default is test. -s DIRECTORY, --source-directory=DIRECTORY Cutter prepends DIRECTORY to file name when test fails. This is for tolls (like Emacs) which have function jumping to error line. -t TEST_CASE_NAME, --test-case=TEST_CASE_NAME Cutter runs test cases that are matched with TEST_CASE_NAME. If TEST_CASE_NAME is surrounded by "/" (e.g. /test_/), TEST_CASE_NAME is handled as regular expression. This option can be specified n times. In the case, Cutter runs test cases that are matched with any TEST_CASE_NAME. (OR) -n TEST_NAME, --name=TEST_NAME Cutter runs tests that are matched with TEST_NAME. If TEST_NAME is surrounded by "/" (e.g. /test_/), TEST_NAME is handled as regular expression. This option can be specified n times. In the case, Cutter runs test that are matched with any TEST_NAME. (OR) -m, --multi-thread Cutter runs a test case in a new thread. The default is off. --max-threads=MAX_THREADS Run test cases and iterated tests with MAX_THREADS threads concurrently at a maximum. -1 means no limit. The default is 10. --disable-signal-handling Disable signal handling that provides aborting test by C-c, provides backtrace on SEGV and so on. If your test target uses signal, Cutter's signal handling may cause a problem. In the case, you should disable Cutter's signal handling by this option. The default is enabled. --test-case-order=[none|name|name-desc] It specifies test case order. If 'none' is specified, Cutter doesn't sort. If 'name' is specified, Cutter sorts test cases by name in ascending order. If 'name-desc' is specified, Cutter sorts test cases by name in descending order. The default is none. --exclude-file=FILE Cutter doesn't read FILE on test collecting. --exclude-directory=DIRECTORY Cutter doesn't search tests under DIRECTORY. --fatal-failures Cutter treats failures as fatal problem. It means that Cutter stops test run. The default is off. --keep-opening-modules Cutter keeps opening loaded modules to resolve symbols for debugging. The default is off. --enable-convenience-attribute-definition It enables convenience but danger "#{ATTRIBUTE_NAME}_#{TEST_NAME - 'test_' PREFIX}" attribute set function. The default is off. --stop-before-test It sets a breakpoint immediately before each test. You can dive into test function easily by running cutter on your debugger and stepping into the next function. The default is off. -u[console|gtk], --ui=[console|gtk] It specifies UI. The default is console UI. -v[s|silent|n|normal|v|verbose], --verbose=[s|silent|n|normal|v|verbose] It specifies verbose level. This option is only for console UI. -c[yes|true|no|false|auto], --color=[yes|true|no|false|auto] If 'yes' or 'true' is specified, Cutter uses colorized output by escape sequence. If 'no' or 'false' is specified, Cutter never use colorized output. If 'auto' or the option is omitted, Cutter uses colorized output if available. This option is only for console UI. --pdf-report=FILE Cutter outputs a test report to FILE as PDF format. --xml-report=FILE Cutter outputs a test report to FILE as XML format. --stream=[xml] It specifies stream backend. Stream backend streams test results. There is only XML stream backend for now. --stream-fd=FILE_DESCRIPTOR It specifies output file descriptor. The XML stream backend streams to FILE_DESCRIPTOR. This option is only for XML stream backend. --stream-directory=DIRECTORY It specifies output directory. The XML stream backend streams to a file under DIRECTORY. This option is only for XML stream backend. -?, --help Cutter shows common options. --help-stream Cutter shows stream related options. --help-report Cutter shows report related options. --help-ui Cutter shows UI related options. --help-all Cutter shows all options. EXIT STATUS
The exit status is 0 if all tests are passed and non-0 otherwise. Omission test result and notification test result are not treated as failure. FILES
/usr/local/share/doc/cutter/ The directory has Cutter documents. e.g. reference manual, tutorial and so on. EXAMPLE
In the following example, cutter runs tests under tests/ directory and shows test progress verbosely. % cutter -v v test/ In the following example, test results are saved under logs/ directory: % cutter --stream=xml --stream-directory=logs/ test/ SEE ALSO
GLib's reference manual. Cutter February 2011 CUTTER(1)
All times are GMT -4. The time now is 11:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy