Check-in [3fc66ec256]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add tests for MIPS EB and MIPS EL.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:3fc66ec2560a15f8037c1893cf2e9a948f197c47
User & Date: stephanie.gawroriski 2019-06-13 15:45:56
Context
2019-06-13
16:34
Make apt-get installs optional. check-in: 33341442c2 user: stephanie.gawroriski tags: trunk
15:45
Add tests for MIPS EB and MIPS EL. check-in: 3fc66ec256 user: stephanie.gawroriski tags: trunk
13:02
Remove long stuff in SummerCoat's NativeCPU; Make some adjustments to RatufaCoat (endianess issue still remains) check-in: 6599dc94ff user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to .circleci/config.yml.

27
28
29
30
31
32
33






34
35
36
37
38
39
40
...
202
203
204
205
206
207
208






















































209
210
211
212
213
214
215
...
225
226
227
228
229
230
231






232
233
234
      - run:
          name: Install build-essential
          command: sudo apt-get install --no-install-recommends -y build-essential
      - run:
          name: Install crossbuild-essential-powerpc
          command: sudo apt-get install --no-install-recommends -y crossbuild-essential-powerpc
      - run:






          name: Install qemu-user
          command: sudo apt-get install --no-install-recommends -y qemu-user
      - run:
          name: Install unzip
          command: sudo apt-get install --no-install-recommends -y unzip

jobs:
................................................................................
          name: Building RatufaCoat VM (PowerPC)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=powerpc-linux-gnu-gcc CFLAGS='-static -DSJME_BIG_ENDIAN'
      - run:
          name: Running RatufaCoat VM (PowerPC)
          command: qemu-ppc ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rpjut/ratufacoatppc/results.xml
      - store_test_results:
          path: rpjut























































workflows:
  version: 2
  tests:
    jobs:
      - build_javase
      - build_javame
................................................................................
          requires:
            - build_javase
            - build_summercoatrom
      - tests_ratufacoat_default:
          requires:
            - build_summercoatrom
      - tests_ratufacoat_ppc:






          requires:
            - build_summercoatrom








>
>
>
>
>
>







 







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







 







>
>
>
>
>
>



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
...
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
...
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
      - run:
          name: Install build-essential
          command: sudo apt-get install --no-install-recommends -y build-essential
      - run:
          name: Install crossbuild-essential-powerpc
          command: sudo apt-get install --no-install-recommends -y crossbuild-essential-powerpc
      - run:
          name: Install crossbuild-essential-mips
          command: sudo apt-get install --no-install-recommends -y crossbuild-essential-mips
      - run:
          name: Install crossbuild-essential-mipsel
          command: sudo apt-get install --no-install-recommends -y crossbuild-essential-mipsel
      - run:
          name: Install qemu-user
          command: sudo apt-get install --no-install-recommends -y qemu-user
      - run:
          name: Install unzip
          command: sudo apt-get install --no-install-recommends -y unzip

jobs:
................................................................................
          name: Building RatufaCoat VM (PowerPC)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=powerpc-linux-gnu-gcc CFLAGS='-static -DSJME_BIG_ENDIAN'
      - run:
          name: Running RatufaCoat VM (PowerPC)
          command: qemu-ppc ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rpjut/ratufacoatppc/results.xml
      - store_test_results:
          path: rpjut
  tests_ratufacoat_mips:
    executor: buildenv
    steps:
      - initialize_buildenv
      - run:
          name: Clear old test results and snapshot
          command: rm -f rmjut/ratufacoatmips/results.xml
      - run:
          name: Create test directory
          command: mkdir -p rmjut/ratufacoatmips
      - run:
          name: Build SummerCoat ROM with tests
          command: ~/squirreljme/build.sh dist summercoatrom-test
      - run:
          name: Extract distribution
          command: unzip -o squirreljme-summercoatrom-test.zip
      - run:
          name: Cleaning RatufaCoat VM (MIPS EB)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
      - run:
          name: Building RatufaCoat VM (MIPS EB)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=mips-linux-gnu-gcc CFLAGS='-static -DSJME_BIG_ENDIAN'
      - run:
          name: Running RatufaCoat VM (MIPS EB)
          command: qemu-mips ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rmjut/ratufacoatmips/results.xml
      - store_test_results:
          path: rmjut
  tests_ratufacoat_mipsel:
    executor: buildenv
    steps:
      - initialize_buildenv
      - run:
          name: Clear old test results and snapshot
          command: rm -f rnjut/ratufacoatmipsel/results.xml
      - run:
          name: Create test directory
          command: mkdir -p rnjut/ratufacoatmipsel
      - run:
          name: Build SummerCoat ROM with tests
          command: ~/squirreljme/build.sh dist summercoatrom-test
      - run:
          name: Extract distribution
          command: unzip -o squirreljme-summercoatrom-test.zip
      - run:
          name: Cleaning RatufaCoat VM (MIPS EL)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile clean
      - run:
          name: Building RatufaCoat VM (MIPS EL)
          command: make -C ~/squirreljme/ratufacoat -f ~/squirreljme/ratufacoat/makefile squirreljme-stdc CC=mipsel-linux-gnu-gcc CFLAGS='-static -DSJME_LITTLE_ENDIAN'
      - run:
          name: Running RatufaCoat VM (MIPS EL)
          command: qemu-mipsel ~/squirreljme/ratufacoat/squirreljme-stdc -Dcc.squirreljme.autolaunch=tac-runner > rnjut/ratufacoatmipsel/results.xml
      - store_test_results:
          path: rnjut

workflows:
  version: 2
  tests:
    jobs:
      - build_javase
      - build_javame
................................................................................
          requires:
            - build_javase
            - build_summercoatrom
      - tests_ratufacoat_default:
          requires:
            - build_summercoatrom
      - tests_ratufacoat_ppc:
          requires:
            - build_summercoatrom
      - tests_ratufacoat_mips:
          requires:
            - build_summercoatrom
      - tests_ratufacoat_mipsel:
          requires:
            - build_summercoatrom