Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,32 @@ jobs:
failOnStderr: true
- publish: $(Build.StagingDirectory)
artifact: $(System.JobName)
- job: release
- job: test
Copy link
Member

Choose a reason for hiding this comment

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

I am going to do this when a github action is enable, but you do it right away! 👍 👍

Copy link
Member Author

Choose a reason for hiding this comment

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

It was as simple as installing EFL on the CI server and adding 20 lines of code. :)

dependsOn: build
pool:
name: Default
demands: agent.os -equals Linux
timeoutInMinutes: 20
cancelTimeoutInMinutes: 1
steps:
- checkout: self
path: src/flutter
- bash: |
git checkout -- build/config/compiler/BUILD.gn
flutter/tools/gn \
--no-goma \
--runtime-mode debug \
--enable-fontconfig \
--build-tizen-shell
ninja -C out/host_debug
displayName: Build unittests
workingDirectory: $(Pipeline.Workspace)/src
failOnStderr: true
- bash: out/host_debug/flutter_tizen_unittests
displayName: Run
workingDirectory: $(Pipeline.Workspace)/src
- job: release
dependsOn: test
pool:
name: Default
demands: agent.os -equals Linux
Expand Down
3 changes: 2 additions & 1 deletion shell/platform/tizen/flutter_tizen_engine_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ TEST_F(FlutterTizenEngineTest, GetTextureRegistrar) {
EXPECT_TRUE(engine_->GetTextureRegistrar() == nullptr);
}

TEST_F(FlutterTizenEngineTestHeaded, GetTextureRegistrar) {
Copy link
Member

@bwikbs bwikbs Jul 21, 2021

Choose a reason for hiding this comment

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

How about just disable it instead of removing it? This TC doesn't mean much, but I want to keep the TC with the renderer enabled.

// Disabled for headless testing.
TEST_F(FlutterTizenEngineTestHeaded, DISABLED_GetTextureRegistrar) {
EXPECT_TRUE(engine_->RunEngine(nullptr));
EXPECT_TRUE(engine_->GetTextureRegistrar() != nullptr);
}
Expand Down