go-hep.org/x/hep@v0.38.1/groot/groot_test.go (about)

     1  // Copyright ©2025 The go-hep Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build linux && ci
     6  
     7  package groot_test
     8  
     9  import (
    10  	"testing"
    11  
    12  	"go-hep.org/x/hep/groot/internal/rtests"
    13  )
    14  
    15  func TestHasCxxROOT(t *testing.T) {
    16  	// test we do have a ROOT/C++ installation on CI.
    17  	if !rtests.HasROOT {
    18  		t.Fatalf("ROOT/C++ must be installed and available on CI")
    19  	}
    20  }