Skip to content

Commit

Permalink
Merge pull request #15089 from ethereum/fix-archlinux-build
Browse files Browse the repository at this point in the history
Fix breakage in Arch Linux build due to a `std::optional` bug in GCC 13+ by disabling one of the yul-phaser's tests
  • Loading branch information
cameel committed May 10, 2024
2 parents 30130db + e446713 commit f53b333
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/yulPhaser/AlgorithmRunner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ BOOST_FIXTURE_TEST_CASE(run_should_overwrite_existing_file_if_autosave_file_spec
BOOST_TEST(readLinesFromFile(m_autosavePath) != originalContent);
}

// Disabled due to a fairly obscure bug in GCC 13+
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109561
// The issue is on line 444, and more specifically the Options struct std::optional<std::string>
/*
BOOST_FIXTURE_TEST_CASE(run_should_not_save_population_to_file_if_autosave_file_not_specified, AlgorithmRunnerAutosaveFixture)
{
m_options.maxRounds = 5;
Expand All @@ -445,6 +449,7 @@ BOOST_FIXTURE_TEST_CASE(run_should_not_save_population_to_file_if_autosave_file_
BOOST_TEST(!fs::exists(m_autosavePath));
}
*/

BOOST_FIXTURE_TEST_CASE(run_should_randomise_duplicate_chromosomes_if_requested, AlgorithmRunnerFixture)
{
Expand Down

0 comments on commit f53b333

Please sign in to comment.