Skip to content

Commit

Permalink
Removed testsuite
Browse files Browse the repository at this point in the history
Since the module is written in Perl, it's not possible to substitute the
removed tests with RSpec equivalents. We decided to just drop them.
  • Loading branch information
ancorgs committed Feb 7, 2020
1 parent 50ce9b8 commit 4bc6d77
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 352 deletions.
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,9 @@ autom4te.cache
Makefile.am.common
*.ami
doc/autodocs/
/testsuite/config/
/testsuite/run/
doc/autodocs/.yardoc/
doc/autodocs/Yast/
doc/autodocs/css/
doc/autodocs/js/
testsuite/*.exp
testsuite/*.err.*
testsuite/tmp.out.*
testsuite/*.log
testsuite/yast2-dhcp-server.sum
testsuite/yast2-dhcp-server.test/
.yardoc
/coverage
5 changes: 5 additions & 0 deletions package/yast2-dhcp-server.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 7 08:21:50 UTC 2020 - Ancor Gonzalez Sosa <ancor@suse.com>

- Removed the testsuite

-------------------------------------------------------------------
Mon Jul 1 16:18:15 UTC 2019 - Knut Anderssen <kanderssen@suse.com>

Expand Down
1 change: 0 additions & 1 deletion package/yast2-dhcp-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ BuildRequires: popt-devel
BuildRequires: sgml-skel
BuildRequires: update-desktop-files
BuildRequires: yast2-perl-bindings
BuildRequires: yast2-testsuite
BuildRequires: yast2-dns-server
BuildRequires: yast2-devtools >= 4.2.2
# Fix old testsuite bind package absence mocks
Expand Down
6 changes: 0 additions & 6 deletions src/modules/DhcpServer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,6 @@ sub InitTSIGKeys {

sub AdaptDDNS {
my $self = shift;

# FIXME temporary hack because of testsuite
if (Mode->test ())
{
return 1;
}
my @directives = @{$self->GetEntryDirectives ("", "") || []};

@directives = grep {
Expand Down
11 changes: 0 additions & 11 deletions testsuite/.cvsignore

This file was deleted.

21 changes: 0 additions & 21 deletions testsuite/Makefile.am

This file was deleted.

Empty file removed testsuite/tests/.cvsignore
Empty file.
Empty file removed testsuite/tests/Read.err
Empty file.
11 changes: 0 additions & 11 deletions testsuite/tests/Read.out

This file was deleted.

105 changes: 0 additions & 105 deletions testsuite/tests/Read.rb

This file was deleted.

Empty file removed testsuite/tests/Write.err
Empty file.
15 changes: 0 additions & 15 deletions testsuite/tests/Write.out

This file was deleted.

174 changes: 0 additions & 174 deletions testsuite/tests/Write.rb

This file was deleted.

0 comments on commit 4bc6d77

Please sign in to comment.