[Piglit] [PATCH 19/24] gen_builtin_packing_tests.py: Fix imports
Dylan Baker
baker.dylan.c at gmail.com
Mon Nov 24 09:58:19 PST 2014
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
generated_tests/gen_builtin_packing_tests.py | 29 ++++++++++++++++++++++------
1 file changed, 23 insertions(+), 6 deletions(-)
diff --git a/generated_tests/gen_builtin_packing_tests.py b/generated_tests/gen_builtin_packing_tests.py
index 78183b2..7273345 100644
--- a/generated_tests/gen_builtin_packing_tests.py
+++ b/generated_tests/gen_builtin_packing_tests.py
@@ -1,19 +1,36 @@
# coding=utf-8
+# Copyright (c) 2014 Intel Corporation
+
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to deal
+# in the Software without restriction, including without limitation the rights
+# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+# copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+# SOFTWARE.
-import mako.template
-import mako.runtime
import math
-import numpy as np
import optparse
import os
import sys
-
from collections import namedtuple
-from mako.template import Template
from math import copysign, fabs, fmod, frexp, isinf, isnan, modf
-from numpy import int8, int16, int32, uint8, uint16, uint32, float32
from textwrap import dedent
+import mako.runtime
+from mako.template import Template
+from numpy import int8, int16, uint8, uint16, uint32, float32
+
# ----------------------------------------------------------------------------
# Overview
# ----------------------------------------------------------------------------
--
2.1.3
More information about the Piglit
mailing list