~oubiwann/pymite/trunk

« back to all changes in this revision

Viewing changes to src/tests/system/t149.c.HAVE_ALL_BI

  • Committer: dwhall256
  • Date: 2009-05-09 21:20:58 UTC
  • Revision ID: svn-v4:22ac2b26-2a8a-11de-a747-197756c87c9e:trunk:363
issue #4 mainlined directly

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
# This file is Copyright 2003, 2006, 2007, 2009 Dean Hall.
3
 
#
4
 
# This file is part of the Python-on-a-Chip program.
5
 
# Python-on-a-Chip is free software: you can redistribute it and/or modify
6
 
# it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
7
 
#
8
 
# Python-on-a-Chip is distributed in the hope that it will be useful,
9
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
 
# A copy of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1
12
 
# is seen in the file COPYING up one directory from this.
13
 
*/
14
 
 
15
 
/**
16
 
 * Test for Issue #149: Support the keyword del
17
 
 */
18
 
 
19
 
 
20
 
#include "pm.h"
21
 
 
22
 
extern unsigned char usrlib_img[];
23
 
 
24
 
 
25
 
int main(void)
26
 
{
27
 
    PmReturn_t retval;
28
 
    
29
 
    retval = pm_init(MEMSPACE_PROG, usrlib_img);
30
 
    PM_RETURN_IF_ERROR(retval);
31
 
 
32
 
    retval = pm_run((uint8_t *)"t149");
33
 
 
34
 
    return (int)retval;
35
 
}
36