diff options
author | Oz Linden <oz@lindenlab.com> | 2013-10-03 18:04:27 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-10-03 18:04:27 -0400 |
commit | 4dccf30bf318649c7b371355fd34cde6c143e867 (patch) | |
tree | 4acbdefe0bb187a817583e835112f4317e11d596 /scripts | |
parent | bd18f3c097304504c398df02613229a64f7eac81 (diff) | |
parent | f7158bc5afcec1da8b9d2d5a4ed86921e62d4959 (diff) |
merge changes for 3.6.7-release
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gpu_table_tester | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/gpu_table_tester b/scripts/gpu_table_tester index 9bc958636d..0fe3e9e8f7 100755 --- a/scripts/gpu_table_tester +++ b/scripts/gpu_table_tester @@ -73,6 +73,10 @@ die "Must specify a --gpu-table <gpu_table.txt> value" open(GPUS, "<$GpuTable") || die "Failed to open gpu table '$GpuTable':\n\t$!\n"; +my $FirstLine = <GPUS>; +die "First line of gpu table does not begin with '//GPU_TABLE'" + unless $FirstLine =~ m|^//GPU_TABLE|; + # Parse the GPU table into these tables, indexed by the name my %NameLine; # name -> line number on which a given name was found (catches duplicate names) my %RecognizerLine; # name -> line number on which a given name was found (catches duplicate names) |