blob: c6a8e5ec32d032bd691b27b7b45e2812a0f7d053 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "garnet/bin/run_test_component/sys_tests.h"
#include "garnet/bin/run_test_component/run_test_component.h"
#include "src/lib/fxl/strings/substitute.h"
#include "src/lib/pkg_url/fuchsia_pkg_url.h"
namespace run {
bool should_run_in_sys(const std::string& url) {
std::string simplified_url = run::GetSimplifiedUrl(url);
return kUrlSet.count(simplified_url) == 1;
}
} // namespace run