1// Copyright 2019 The Chromium OS Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5package main 6 7import ( 8 "testing" 9) 10 11const crosNonHardenedGoldenDir = "testdata/cros_nonhardened_golden" 12 13func TestCrosNonHardenedConfig(t *testing.T) { 14 withTestContext(t, func(ctx *testContext) { 15 useLlvmNext := false 16 useCCache := true 17 cfg, err := getConfig("cros.nonhardened", useCCache, useLlvmNext, "123") 18 if err != nil { 19 t.Fatal(err) 20 } 21 ctx.updateConfig(cfg) 22 23 runGoldenRecords(ctx, crosNonHardenedGoldenDir, createSyswrapperGoldenInputs(ctx)) 24 }) 25} 26