File: 02_skip_all.t

package info (click to toggle)
libtest-needsdisplay-perl 1.07-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 200 kB
  • ctags: 99
  • sloc: perl: 1,190; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl

# This should skip properly if you don't have DISPLAY

use strict;
BEGIN {
	$|  = 1;
	$^W = 1;
}

use Test::NeedsDisplay ':skip_all';
use Test::More tests => 1;

ok( 1, 'Stub test' );