blob: b5a92e6f8a19fd9d09f774189cec1aa5e7e879e8 [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.
package target
import (
func TestNewAEMUTarget(t *testing.T) {
a, err := NewAEMUTarget(QEMUConfig{
Target: "x64",
}, Options{})
if err != nil {
t.Fatalf("Unable to create NewAEMUTarget: %s", err)
if a.binary != aemuBinaryName {
t.Errorf("Unexpected aemu binary %s, expected %s", a.binary, aemuBinaryName)