mirror of
https://github.com/facebook/zstd.git
synced 2025-08-07 06:23:00 +03:00
pzstd: fix test failure on headless build
Remove this test as pass/fail status is dependent on whether I/O is connected to a tty. It currrently passes on a tty but fails on a package build system for example.
This commit is contained in:
@@ -180,12 +180,6 @@ TEST(Options, GetOutputFile) {
|
|||||||
EXPECT_SUCCESS(options.parse(args.size(), args.data()));
|
EXPECT_SUCCESS(options.parse(args.size(), args.data()));
|
||||||
EXPECT_EQ("x.zst", options.getOutputFile(options.inputFiles[0]));
|
EXPECT_EQ("x.zst", options.getOutputFile(options.inputFiles[0]));
|
||||||
}
|
}
|
||||||
{
|
|
||||||
Options options;
|
|
||||||
auto args = makeArray("-o-");
|
|
||||||
EXPECT_FAILURE(options.parse(args.size(), args.data()));
|
|
||||||
EXPECT_EQ("-", options.getOutputFile(options.inputFiles[0]));
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
Options options;
|
Options options;
|
||||||
auto args = makeArray("x", "y", "-o", nullOutput);
|
auto args = makeArray("x", "y", "-o", nullOutput);
|
||||||
|
Reference in New Issue
Block a user