ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/scripts/scramdbg
Revision: 1.3
Committed: Mon May 6 09:52:23 2002 UTC (23 years ago) by sashby
Branch: MAIN
CVS Tags: V0_19_6, V0_19_6p1, V0_19_5, SFATEST, V0_19_4, V0_19_4_pre3, V0_19_4_pre2
Branch point for: V0_19_4_B
Changes since 1.2: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 #!/usr/bin/env perl
2 #===========================================================================#
3 # NAME: scramdbg #
4 #===========================================================================#
5 # #
6 # DATE: Mon Dec 3 12:34:54 2001 #
7 # #
8 # AUTHOR: Shaun Ashby #
9 # #
10 # MOD LOG: #
11 # #
12 # #
13 #===========================================================================#
14 # DESCRIPTION: Run scram with verbose flags turned on for relevant pm's #
15 #===========================================================================#
16
17 use strict;
18
19 my @suppliedargs=join(' ',@ARGV);
20 my @verboseflags=qw(BuildSystem::BuildSetup BuildSystem::BuildFile BuildSystem::Build BuildSystem::Requirements BuildSystem::ToolDoc BuildSystem::ToolBox Scram::ScramFunctions Scram::AutoToolSetup ActiveDoc::ActiveDoc ActiveDoc::SimpleURLDoc Configuration::ConfigArea);
21
22 my @progargs=("scram ");
23
24 # This could be improved by using GetOpts and giving the user a choice
25 # of debug levels, or options for turning on/off debug for particular
26 # parts of scram (eg., buildsystem only, setup only etc.).
27
28 foreach my $pkg (@verboseflags)
29 {
30 push(@progargs, '-verbose '.$pkg.' ');
31 }
32
33 # Run scram:
34 exec "@progargs @suppliedargs";