github.com/cilium/ebpf@v0.15.1-0.20240517100537-8079b37aa138/features/misc_test.go (about)

     1  package features
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/cilium/ebpf/internal/testutils"
     7  )
     8  
     9  func TestHaveLargeInstructions(t *testing.T) {
    10  	testutils.CheckFeatureTest(t, HaveLargeInstructions)
    11  }
    12  
    13  func TestHaveBoundedLoops(t *testing.T) {
    14  	testutils.CheckFeatureTest(t, HaveBoundedLoops)
    15  }
    16  
    17  func TestHaveV2ISA(t *testing.T) {
    18  	testutils.CheckFeatureTest(t, HaveV2ISA)
    19  }
    20  
    21  func TestHaveV3ISA(t *testing.T) {
    22  	testutils.CheckFeatureTest(t, HaveV3ISA)
    23  }