Skip to content

Conversation

@anonymous-akorn
Copy link
Contributor

Currently, we rely on some cmake logic to setup gtest, but this is flaky when building for Android. To work around this, this PR changes build_testapps.py to run the gtest download script before running the integration test setup script: the latter will copy over gtest alongside the test framework files into the project. This will result in the problematic gtest cmake logic being bypassed.

With this in place, the previous workaround of running the android build twice in the presence of a specific failure is no longer necessary. It has been removed.

Currently, we rely on some cmake logic to setup gtest, but this is flaky. To work around this, we run the gtest download script before running the integration test setup script: the latter will copy over gtest alongside the test framework files into the project. This will result in the gtest cmake logic being bypassed. With this in place, the previous workaround of running the android build twice in the presence of a specific failure is no longer necessary. It has been removed.
Copy link
Contributor

@DellaBitta DellaBitta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with comment.


_run_setup_script(root_dir, project_dir)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it can be removed.

@anonymous-akorn anonymous-akorn merged commit 1be374e into dev Jan 8, 2021
@anonymous-akorn anonymous-akorn deleted the feature/aks-flaky-android-builds branch January 8, 2021 20:37
@firebase firebase locked and limited conversation to collaborators Feb 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

2 participants