Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webf_unit_test.exe does not get built #363

Open
1 task done
calvinchengx opened this issue May 25, 2023 · 0 comments
Open
1 task done

webf_unit_test.exe does not get built #363

calvinchengx opened this issue May 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@calvinchengx
Copy link
Contributor

Affected version

main

No same issues found.

  • Yes, I search all issues but not found.

Steps to Reproduce

scripts/tasks.js is updated in L580 to build a webf_unit_test.exe binary, so that I can run unit tests locally on my windows machine.

Code example

const webfTargets = ['webf'];
webfTargets.push('webf_unit_test');

Expected results

C:\openwebf\webf\bridge\build\windows\lib\webf_unit_test.exe

Gets built correctly.

So that developer can run this locally.

Actual results

MSBuild version 17.6.3+07e294721 for .NET Framework
MSBUILD : error MSB1009: Project file does not exist.
Switch: webf_unit_test.vcxproj
C:\openwebf\webf\node_modules\async-done\index.js:18
    throw err;
    ^

Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({
  uid: 3,
  name: 'build-window-webf-lib',
  branch: false,
  error: Error: Command failed: cmake --build C:\openwebf\webf\bridge\cmake-build-windows --target webf webf_unit_test --verbose --config Debug
      at checkExecSyncError (node:child_process:826:11)
      at execSync (node:child_process:900:15)
      at C:\openwebf\webf\scripts\tasks.js:584:3
      at taskWrapper (C:\openwebf\webf\node_modules\undertaker\lib\set-task.js:13:15)
      at bound (node:domain:416:15)
      at runBound (node:domain:427:12)
      at asyncRunner (C:\openwebf\webf\node_modules\async-done\index.js:55:18)
      at processTicksAndRejections (node:internal/process/task_queues:78:11) {
    status: 1,
    signal: null,
    output: [ null, null, null ],
    pid: 29668,
    stdout: null,
    stderr: null,
    domainThrown: true
  },
  duration: [ 37, 851988600 ],
  time: 1685020909630
})
@calvinchengx calvinchengx added the bug Something isn't working label May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant