// 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 ( | |
"testing" | |
) | |
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) | |
} | |
} |