Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Дист::Зилла Roundhouse kick

  • Loading branch information...
commit 2cbc1c931a9a707d751e5101afa4110b17e549ea 1 parent 1b8c68e
Steffen Schwigon authored
View
21 .gitignore
@@ -1,19 +1,6 @@
-blib*
-Makefile.old
-Makefile
-Build
-_build*
-pm_to_blib*
-*.tar.gz
-.lwpcookies
-Tapper-*
-cover_db
-MANIFEST.bak
-MANIFEST
-META.yml
+.*
+!.gitignore
+Tapper-Fake-*
+Debian_CPANTS.txt
t/tapper_schema_reportsdb_test.sqlite
t/tapper_schema_testrundb_test.sqlite
-t/tapper_schema_testsdb_testdb.sqlite
-t/tapper_schema_hardwaredb_test.sqlite
-inc/
-
View
5 ChangeLog → Changes
@@ -1,3 +1,8 @@
+Revision history for {{$dist->name}}
+
+{{$NEXT}}
+ - big Dist::Zilla roundhouse kick
+
2011-03-02 Steffen Schwigon <steffen.schwigon@amd.com>
* v3.0
View
2  LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2008-2011, Advanced Micro Devices, Inc.
+Copyright (c) 2008-2012, Advanced Micro Devices, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
View
40 MANIFEST.SKIP
@@ -1,40 +0,0 @@
-# Avoid version control files.
-\bRCS\b
-\bCVS\b
-,v$
-\B\.svn\b
-\B\.cvsignore$
-^.git
-
-# Avoid Makemaker generated and utility files.
-\bMakefile$
-\bblib
-\bMakeMaker-\d
-\bpm_to_blib$
-\bblibdirs$
-^MANIFEST\.SKIP$
-
-# Avoid Module::Build generated and utility files.
-\bBuild$
-\bBuild.bat$
-\b_build
-
-# Avoid Devel::Cover generated files
-\bcover_db
-
-# Avoid temp and backup files.
-~$
-\.tmp$
-\.old$
-\.bak$
-\#$
-\.#
-\.rej$
-
-# Avoid OS-specific files/dirs
-# Mac OSX metadata
-\B\.DS_Store
-# Mac OSX SMB mount metadata files
-\B\._
-# Avoid archives of this distribution
-\bTapper-PRC-[\d\.\_]+
View
24 Makefile.PL
@@ -1,24 +0,0 @@
-use strict;
-use warnings;
-
-use inc::Module::Install;
-
-name 'Tapper-Fake';
-all_from 'lib/Tapper/Fake.pm';
-author 'AMD OSRC Tapper Team <tapper@amd64.org>';
-license 'freebsd';
-
-build_requires 'Test::More';
-build_requires 'Test::Perl::Critic';
-
-author_requires 'Module::Install::WriteAll';
-
-requires 'Tapper::Model' => 3.000010";
-
-auto_install;
-
-repository 'git://github.com/amd/Tapper-Fake.git';
-bugtracker 'http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Tapper-Fake';
-
-WriteAll;
-
View
33 README
@@ -1,33 +0,0 @@
-Tapper-Fake
-===========
-
-Fake modules for testing the automation layer
-
-
-About Tapper
-============
-
-Tapper is an infrastructure for all aspects of testing
-inclusive Operating Systems and Virtualization.
-
-Tapper contains
-
- - Automation
- - Machine Scheduling
- - Command line utils
- - Web Frontend application
- - Support for writing tests
- - Powerful result evaluation API
- - Testplan support with TaskJuggler
- - Many use-cases from tracking test results to
- benchmarking to full OS testing including virtualization
-
-More information about Tapper:
-
- - https://github.com/amd/Tapper-Doc/
- - https://search.cpan.org/~amd/Tapper-Doc/
-
-Other Tapper subprojects:
-
- - https://github.com/amd
- - https://search.cpan.org/~amd
View
8 dist.ini
@@ -0,0 +1,8 @@
+name = Tapper-Fake
+author = AMD OSRC Tapper Team <tapper@amd64.org>
+license = FreeBSD
+copyright_holder = Advanced Micro Devices, Inc.
+
+[@AMD]
+dist = Tapper-Fake
+repository_at = github
View
41 lib/Tapper/Fake.pm
@@ -1,9 +1,8 @@
package Tapper::Fake;
+# ABSTRACT: Tapper - Fake modules for testing the automation layer
-use warnings;
use strict;
-
-our $VERSION = '3.000001';
+use warnings;
use Tapper::Config;
use Moose;
@@ -16,40 +15,4 @@ sub cfg
return Tapper::Config->subconfig();
}
-=head1 NAME
-
-Tapper::Fake - Tapper - Fake modules for testing the automation layer
-
-=head1 SYNOPSIS
-
- use Tapper::Fake;
-
-=cut
-
1;
-
-=head1 AUTHOR
-
-AMD OSRC Tapper Team, C<< <tapper at amd64.org> >>
-
-=head1 BUGS
-
-None.
-
-=head1 SUPPORT
-
-You can find documentation for this module with the perldoc command.
-
- perldoc Tapper::Fake
-
-=head1 ACKNOWLEDGEMENTS
-
-=head1 COPYRIGHT & LICENSE
-
-Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.
-
-This program is released under the following license: freebsd
-
-=cut
-
-1; # End of Tapper::Fake
View
46 lib/Tapper/Fake/Child.pm
@@ -1,15 +1,11 @@
package Tapper::Fake::Child;
+# ABSTRACT: Fake Tapper::MCP::Child for testing
use Moose;
-
use common::sense;
use Tapper::Model 'model';
-
-
-=head1 NAME
-
-Tapper::Fake::Child - Fake Tapper::MCP::Child for testing
+has testrun => (is => 'rw');
=head1 SYNOPSIS
@@ -17,27 +13,18 @@ Tapper::Fake::Child - Fake Tapper::MCP::Child for testing
my $client = Tapper::Fake::Child->new($testrun_id);
$child->runtest_handling($system);
-
-
-=head1 FUNCTIONS
-
-=cut
-
-has testrun => (is => 'rw');
-
-
sub BUILDARGS {
my $class = shift;
if ( @_ >= 1 and not ref $_[0] ) {
return { testrun => $_[0] };
- }
+ }
else {
return $class->SUPER::BUILDARGS(@_);
}
}
-
+=head1 FUNCTIONS
=head2 runtest_handling
@@ -66,28 +53,3 @@ sub runtest_handling
}
1;
-
-=head1 AUTHOR
-
-AMD OSRC Tapper Team, C<< <tapper at amd64.org> >>
-
-=head1 BUGS
-
-None.
-
-=head1 SUPPORT
-
-You can find documentation for this module with the perldoc command.
-
- perldoc Tapper
-
-
-=head1 ACKNOWLEDGEMENTS
-
-
-=head1 COPYRIGHT & LICENSE
-
-Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.
-
-This program is released under the following license: freebsd
-
View
43 lib/Tapper/Fake/Master.pm
@@ -1,10 +1,9 @@
-use MooseX::Declare;
-
-
-
## no critic (RequireUseStrict)
-class Tapper::Fake::Master extends Tapper::Fake
-{
+package Tapper::Fake::Master;
+# ABSTRACT: Fake Tapper::MCP::Master for testing purpose
+
+ use Moose;
+ extends 'Tapper::Fake';
use Devel::Backtrace;
use POSIX ":sys_wait_h";
use UNIVERSAL;
@@ -15,10 +14,6 @@ class Tapper::Fake::Master extends Tapper::Fake
use Tapper::Model 'model';
-=head1 NAME
-
-Tapper::Fake::Master - Fake Tapper::MCP::Master for testing purpose
-
=head1 SYNOPSIS
use Tapper::Fake::Master;
@@ -27,7 +22,6 @@ Tapper::Fake::Master - Fake Tapper::MCP::Master for testing purpose
=head1 Attributes
-
=head2 hosts
List of hosts this MCP may use.
@@ -71,7 +65,6 @@ sub BUILD
$self->scheduler(Tapper::MCP::Scheduler::Controller->new());
}
-
=head2 set_interrupt_handlers
Set interrupt handlers for important signals. No parameters, no return values.
@@ -247,32 +240,6 @@ Set up all needed data structures then wait for new tests.
}
}
-}
-
1;
-=head1 AUTHOR
-
-AMD OSRC Tapper Team, C<< <tapper at amd64.org> >>
-
-=head1 BUGS
-
-None.
-
-=head1 SUPPORT
-
-You can find documentation for this module with the perldoc command.
-
- perldoc Tapper
-
-
-=head1 ACKNOWLEDGEMENTS
-
-
-=head1 COPYRIGHT & LICENSE
-
-Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.
-
-This program is released under the following license: freebsd
-
View
0  pm_to_blib
No changes.
View
2  t/00-load.t
@@ -20,5 +20,3 @@ plan tests => $#modules+1;
foreach my $module(@modules) {
require_ok($module);
}
-
-diag( "Testing Tapper::Fake $Tapper::Fake::VERSION,Perl $], $^X" );
View
3  t/01-instance.t
@@ -41,6 +41,3 @@ foreach my $module(@modules) {
isa_ok($obj, $module);
print $@ if $@;
}
-
-diag( "Testing Tapper::Fake $Tapper::Fake::VERSION,Perl $], $^X" );
-
Please sign in to comment.
Something went wrong with that request. Please try again.