testing the quality with right platform · 2019-07-26 · testing the quality with right platform...

16
V1.0 | 2019-04-24 Srinivas Testing the Quality with right platform

Upload: others

Post on 27-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

V1.0 | 2019-04-24

Srinivas

Testing the Quality with right platform

Page 2: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

2

u Prologue

u Pitfalls of testing in Native platform

u Cross-Compiler Vs Host-Compiler

u Challenges with Linking

u Inaccuracy in Testing

u I do structural testing, I don't need a cross-

compiler

u Possible Solutions

u Advantages of Instruction set simulator

u Advantages of using target Board

Agenda

Testing the Quality with right platform

Page 3: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

3

u What is Software Testing ?

u Is host testing cross-compiled code efficient?

u The common challenges /solutions

Prologue

Testing the Quality with right platform

Page 4: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

4

What is Software Testing

Testing the Quality with right platform

System TestingUnit Testing Integration Testing

Individual units or modules are tested. It involves testing of source code by developers.

Individual modules are grouped together and tested. The purpose is to determine that modules are working as expected once they are integrated.

Testing is performed on the whole system by checking whether the system or application meets the requirement specification document.

Page 5: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

5

Testing the Quality with right platform

Cross-Compiler Vs Host-Compiler (1/2)

What is a native compiler:

A native compiler is a compiler that works on a compilation for the same technology on which it runs.

What is a cross compiler :

A compiler which can convert instructions into machine code or low-level code for a computer other than that on which it is run.

Page 6: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

6

Testing the Quality with right platform

Cross-Compiler Vs Host-Compiler (2/2)

u Modifying Source code

u Man Hours Spent

u Test Reuse

Page 7: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

7

Testing the Quality with right platform

Challenges with Linking (1\2)

u Issues with Standard Headers

Page 8: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

8

Testing the Quality with right platform

Challenges with Linking (1\2)

u Issues with Standard Headers

Page 9: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

9

Testing the Quality with right platform

Challenges with Linking (2\2)

u Harness Crash Scenario

Page 10: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

10

Testing the Quality with right platform

Inaccuracy in Testing

u Change in Data Types Sizes from compiler to compiler.

u A Typical Scenario

u Challenges in Robustness Testing

Page 11: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

11

Testing the Quality with right platform

I do structural testing, I don't need a cross-compiler

u What do we say

Page 12: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

12

Testing the Quality with right platform

Possible Solutions (Simulator)

u Using Cross-compiler for building test

harness

u Using ISS (Instruction Set Simulator)

Page 13: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

13

Testing the Quality with right platform

Possible Solutions (Board)

u Using Board

u Countering Resource Bottle neck

Page 14: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

14

DEMO

Testing the Quality with right platform

DEMO

Page 15: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

15

Q/A

Testing the Quality with right platform

Questions ?

Page 16: Testing the Quality with right platform · 2019-07-26 · Testing the Quality with right platform Cross-Compiler Vs Host-Compiler (1/2) What is a native compiler: A native compiler

16 © 2017. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V6.14 | 2017-10-06

For more information about Vectorand our products please visit

www.vector.com

R Srinivas

FAE

www.vectorcast.com