]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/commitdiff
Test: Fix bug in dual_transports test cfg script
authorChris Ring <cring@ti.com>
Tue, 12 Mar 2013 19:41:40 +0000 (12:41 -0700)
committerChris Ring <cring@ti.com>
Tue, 12 Mar 2013 22:42:57 +0000 (15:42 -0700)
Fix a bug in assigning the NotifyDriver's InterruptProxy.

This was exposed when validating with a newer version of XDC, which
[thankfully!] added some extra parameter checking in XDC 3.25.

packages/ti/ipc/tests/dual_transports.cfg

index b4b9d215be3f78d5971742015a0f2fbb884fbeb8..e773e10c558562aae5f6c236831c46e2cb78fae3 100644 (file)
@@ -28,7 +28,7 @@
  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- * */
+ */
 
 
 /*
@@ -55,14 +55,14 @@ if (Program.platformName.match(/6614/)) {
     var NotifyDriverShm =
         xdc.useModule('ti.sdo.ipc.notifyDrivers.NotifyDriverShm');
     var Interrupt = xdc.useModule('ti.ipc.family.tci6614.Interrupt');
-    NotifyDriverShm.InterruptProxy = xdc.useModule(Interrupt);
+    NotifyDriverShm.InterruptProxy = Interrupt;
 }
 else if (Program.platformName.match(/simKepler/) ||
         Program.cpu.deviceName.match(/^TMS320TCI6638$/)) {
     var NotifyDriverCirc =
        xdc.useModule('ti.sdo.ipc.notifyDrivers.NotifyDriverCirc');
     var Interrupt = xdc.useModule('ti.ipc.family.tci6638.Interrupt');
-    NotifyDriverCirc.InterruptProxy = xdc.useModule(Interrupt);
+    NotifyDriverCirc.InterruptProxy = Interrupt;
 }
 
 /*