Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1351459 - disable long b64 tests, r=kaie
Differential Revision: https://nss-review.dev.mozaws.net/D292

--HG--
extra : amend_source : ca86e2de76dc7b125e7e853ae2d9ded221dc9e3b
  • Loading branch information
franziskuskiefer committed Apr 19, 2017
1 parent 302e442 commit 41d8bfa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 5 additions & 3 deletions gtests/util_gtest/util_b64_unittest.cc
Expand Up @@ -68,11 +68,13 @@ TEST_F(B64EncodeDecodeTest, FakeEncDecTest) {
}

// These takes a while ...
TEST_F(B64EncodeDecodeTest, LongFakeDecTest1) {
TEST_F(B64EncodeDecodeTest, DISABLED_LongFakeDecTest1) {
EXPECT_TRUE(TestFakeDecode(0x66666666));
}
TEST_F(B64EncodeDecodeTest, LongFakeEncDecTest1) { TestFakeEncode(0x3fffffff); }
TEST_F(B64EncodeDecodeTest, LongFakeEncDecTest2) {
TEST_F(B64EncodeDecodeTest, DISABLED_LongFakeEncDecTest1) {
TestFakeEncode(0x3fffffff);
}
TEST_F(B64EncodeDecodeTest, DISABLED_LongFakeEncDecTest2) {
EXPECT_FALSE(TestFakeEncode(0x40000000));
}

Expand Down
3 changes: 1 addition & 2 deletions tests/gtests/gtests.sh
Expand Up @@ -55,10 +55,9 @@ gtest_start()
GTESTREPORT="$GTESTDIR/report.xml"
PARSED_REPORT="$GTESTDIR/report.parsed"
echo "executing $i"
# We disable slow b64 tests because they fail on ppc and armhf (bug 1351459).
${BINDIR}/$i "${SOURCE_DIR}/gtests/freebl_gtest/kat/Hash_DRBG.rsp" \
-d "$GTESTDIR" --gtest_output=xml:"${GTESTREPORT}" \
--gtest_filter="${GTESTFILTER-*}:-*B64*Long*"
--gtest_filter="${GTESTFILTER-*}"
html_msg $? 0 "$i run successfully"
echo "test output dir: ${GTESTREPORT}"
echo "executing sed to parse the xml report"
Expand Down

0 comments on commit 41d8bfa

Please sign in to comment.