Add 'CAN-binder/libs/uds-c/' from commit 'ca20db3dd978871bbb9f01f3c862b510c03d1dc4'
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 2 May 2017 15:52:11 +0000 (17:52 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 2 May 2017 15:52:11 +0000 (17:52 +0200)
git-subtree-dir: CAN-binder/libs/uds-c
git-subtree-mainline: 3102ec9ce009d0f28355c5b7df9c5bd5013e6e75
git-subtree-split: ca20db3dd978871bbb9f01f3c862b510c03d1dc4

17 files changed:
1  2 
CAN-binder/libs/uds-c/.gitignore
CAN-binder/libs/uds-c/.gitmodules
CAN-binder/libs/uds-c/.travis.yml
CAN-binder/libs/uds-c/CHANGELOG.mkd
CAN-binder/libs/uds-c/LICENSE
CAN-binder/libs/uds-c/Makefile
CAN-binder/libs/uds-c/README.mkd
CAN-binder/libs/uds-c/deps/bitfield-c
CAN-binder/libs/uds-c/deps/isotp-c
CAN-binder/libs/uds-c/runtests.sh
CAN-binder/libs/uds-c/src/uds/extras.c
CAN-binder/libs/uds-c/src/uds/extras.h
CAN-binder/libs/uds-c/src/uds/uds.c
CAN-binder/libs/uds-c/src/uds/uds.h
CAN-binder/libs/uds-c/src/uds/uds_types.h
CAN-binder/libs/uds-c/tests/common.c
CAN-binder/libs/uds-c/tests/test_core.c

index 0000000,0000000..834a305
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,5 @@@
++*.o
++.DS_Store
++*~
++*.bin
++build
index 0000000,0000000..d9c0194
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,6 @@@
++[submodule "deps/bitfield-c"]
++      path = deps/bitfield-c
++      url = https://github.com/openxc/bitfield-c
++[submodule "deps/isotp-c"]
++      path = deps/isotp-c
++      url = https://github.com/openxc/isotp-c
index 0000000,0000000..31bfdeb
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,8 @@@
++language: c
++compiler:
++  - gcc
++script: make test
++before_install:
++    - git submodule update --init
++    - sudo apt-get update -qq
++    - sudo apt-get install check
index 0000000,96eaa17..96eaa17
mode 000000,100644..100644
--- /dev/null
index 0000000,0000000..330d61f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,24 @@@
++Copyright (c) 2013 Ford Motor Company
++All rights reserved.
++
++Redistribution and use in source and binary forms, with or without
++modification, are permitted provided that the following conditions are met:
++    * Redistributions of source code must retain the above copyright
++      notice, this list of conditions and the following disclaimer.
++    * Redistributions in binary form must reproduce the above copyright
++      notice, this list of conditions and the following disclaimer in the
++      documentation and/or other materials provided with the distribution.
++    * Neither the name of the <organization> nor the
++      names of its contributors may be used to endorse or promote products
++      derived from this software without specific prior written permission.
++
++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
++ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
++WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
++DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
++DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
++(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
++LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
++ON ANY THEORY OF LIABILITY, 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.
index 0000000,4adf3ce..4adf3ce
mode 000000,100644..100644
--- /dev/null
index 0000000,aa0d7fd..aa0d7fd
mode 000000,100644..100644
--- /dev/null
index 0000000,6f24309..6f24309
mode 000000,160000..160000
--- /dev/null
index 0000000,ee24440..ee24440
mode 000000,160000..160000
--- /dev/null
index 0000000,0000000..4781636
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,17 @@@
++echo "Running unit tests:"
++
++for i in $1/*.bin
++do
++    if test -f $i
++    then
++        if ./$i
++        then
++            echo $i PASS
++        else
++            echo "ERROR in test $i:"
++            exit 1
++        fi
++    fi
++done
++
++echo "${txtbld}$(tput setaf 2)All unit tests passed.$(tput sgr0)"
index 0000000,2be6bdd..2be6bdd
mode 000000,100644..100644
--- /dev/null
index 0000000,126e5d4..126e5d4
mode 000000,100644..100644
--- /dev/null
index 0000000,0114384..0114384
mode 000000,100644..100644
--- /dev/null
index 0000000,4305834..4305834
mode 000000,100644..100644
--- /dev/null
index 0000000,4ebc150..4ebc150
mode 000000,100644..100644
--- /dev/null
index 0000000,fd1e4b2..fd1e4b2
mode 000000,100644..100644
--- /dev/null
index 0000000,81200cc..81200cc
mode 000000,100644..100644
--- /dev/null