blob: af3f77c6bda82c2d04d7e78a9ed56c9d0a6ea15d [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
AUTHOR = "The Chromium OS Authors"
NAME = "platform_AddPrinter.generic"
TIME = "SHORT"
TEST_TYPE = "client"
CRITERIA = """
The test fails in case of malfunctioning of CUPS printing stack (cupsd,
cupstestppd, cups filters).
"""
TEST_CATEGORY = "Functional"
TEST_CLASS = "platform"
# TODO(skau): Add back to bvt-cq when crbug.com/814340 is fixed.
ATTRIBUTES = "suite:bvt-perbuild"
JOB_RETRIES = 2
DOC = """
This is a test that emulates following user behavior:
Manually add an Generic printer (user-provided ppd file) and print a pdf.
When printing the pdf, the printing request sent to printer is caught by
a fake printer which compares the request to a golden file to verify its
correctness.
"""
job.run_test('platform_AddPrinter',
ppd_file='GenericPostScript.ppd.gz',
golden_file='golden_printing_request_generic.bin')